The priority of the collections and the "show/ hide" system. blender 2.8

I use the collection system to manage my scenes. Temporatyly when I model, I use “H” to hide something affect me, but when need to uhhide the object using “alt+ H”, it unhide all the the stuff even the collections that is hidden. That is pretty annoying when the scenes is complicated. So I wonder why there isn’t a priority between this two operation?

what do you guys think?

This area is being worked on, it will probably be changed to what you expect:
https://developer.blender.org/D4011
https://developer.blender.org/T57857