After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 78782 - Opening one panel drawer closes other panel drawers
Opening one panel drawer closes other panel drawers
Status: VERIFIED FIXED
Product: gnome-panel
Classification: Other
Component: general
1.5.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-04-15 16:57 UTC by Shane O'Connor
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Shane O'Connor 2002-04-15 16:57:24 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.
Comment 1 Mark McLoughlin 2002-04-18 12:48:44 UTC
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
Comment 2 padraig.obriain 2002-04-18 13:46:03 UTC
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?
Comment 3 padraig.obriain 2002-04-19 07:08:14 UTC
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? 
Comment 4 Calum Benson 2002-05-03 15:42:16 UTC
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.
Comment 5 padraig.obriain 2002-05-03 16:28:01 UTC
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.
Comment 6 Shane O'Connor 2002-05-07 13:34:16 UTC
fix verified against source from May 5th
Comment 7 Shane O'Connor 2002-05-07 13:34:37 UTC
closing