GNOME Bugzilla – Bug 78782
Opening one panel drawer closes other panel drawers
Last modified: 2015-03-24 13:00:31 UTC
If you have >2 panel drawers one the same panel when one is opened then any other open drawers are closed. When you click on a drawer it opens (but drawer icon retains focus) - clicking on another drawer on the same panel causes the first drawer to close and the second drawer to open. A workaround is that after opening one drawer if you click anywhere on the gnome desktop (except the panel containing the drawers) to take focus away from the open drawer's icon before opening a second drawer.
Padraig, if you can see a quick fix for this that'd be great ... Clicking on a drawer button, when another drawer button has focus it closes that drawer before opening the other ... I think the nicest solution woul dbe to just remove the 'close when focus is moved' feature ... cc:ing calum as well, since he's the one who wants it
If Calum agrees, it is an easy fix not to close a drawer when the focus is moved from the drawer. However it has the effct that tabbing through a panel causes all the drawers to be opened. Perhaps focusing a drawer should not open the drawer. I have noticed strange behavior when a drawer is opened and one navigates to the hide button of the drawer and activates it. The drawer is closed but focus seems to be lost. Should focus be set on the drawer?
It is not so easy to just remove the close when focus is removed without removing drawer opens automatically when focused. I would like to step back a bit and clarify what the correct behaviour should be. Is the bug that we cannot have more than one drawer open at a time or that a drawer is not closed when focus is moved away from the panel?
The original intention was to have drawers and menus behave as similarly as possible to each other w.r.t. keynav, however that consistency broke when we had to change it so that menus didn't pop up automatically when they gained keyboard focus. To get that consistency back, I don't think drawers should open automatically when their icons are focused, but you should have to press Space/Enter like you do with menus. I think you should be able to have as many drawers open at the same time as you like, but if that proves tricky to implement I don't think it would be a big deal if you could only open one at a time.
I have made changes to not open a drawer automatically when it is focused and to not close it automatically when unfocused. This means that a drawer must be opened by clicking on it or pressing Space/Enter and it remains open until the user closes it.
fix verified against source from May 5th
closing