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 121382 - The auto-open behaviour of drawers on a auto-unhide of the parent panel
The auto-open behaviour of drawers on a auto-unhide of the parent panel
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.3.x
Other Linux
: High major
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 123098 124794 132424 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-09-03 18:20 UTC by Jeremy Nickurak
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch should fix the bug. (4.82 KB, patch)
2003-10-23 08:45 UTC, Arvind S N
none Details | Review

Description Jeremy Nickurak 2003-09-03 18:20:26 UTC
Steps to reproduce:

1) Create an panel, set it to auto-hide
2) Add a drawer, with a launcher inside.

On auto-unhide, the all drawers that are on the panel or on a drawer in the
panel will expand, consuming a large amount of space on the screen for
un-neccesary items. Further, since the expected behavior of an auto-hide
panel is to stay open until all drawers are closed, the user
(theoretically) must take manual action to undo an automatic response,
which is highly unhelpful

More distressingly, any launchers on the drawers will be unusable. Hovering
the mouse over the objects in the drawer removes the pointer from the
parent panel, causing it to auto-hide, taking the drawer with it.
Comment 1 Kjartan Maraas 2003-09-07 12:33:15 UTC
Please try 2.3.91, I think this was fixed there.
Comment 2 Jeremy Nickurak 2003-09-07 20:08:46 UTC
Both problems still present in 2.3.91.
Comment 3 Jeremy Nickurak 2003-09-13 22:07:51 UTC
Confirmed in metacity, openbox, and sawfish.
Comment 4 Arvind S N 2003-09-15 02:45:00 UTC
There are 2 problems reported here.
a) unhide behaviour of the  panel is wrong when having drawers
b) launchers are unusable, as is the case with bug 121072

Keeping this bug open so that we don't miss out on (a).

Comment 5 Jeremy Nickurak 2003-09-21 05:04:42 UTC
If this behavior is intentional, consider:
If adjacent drawers, when opened, are larger than their icon on the
parent panel, it is possible for them to be partially or even
completely obscured by one another. If it's really desirable to have
all drawers open simultaneously at all, this is going to require more
thought to avoid having them dissapear from view.
Comment 6 Jeremy Nickurak 2003-09-25 08:12:59 UTC
Can anybody confirm if this behavior (auto-open of drawers on
auto-unhide) is intentional or not?
Comment 7 Arvind S N 2003-10-07 12:49:21 UTC
For clarity, the scope of this bug is limited to the behaviour of
auto-open of drawers on auto-unhide.

>Hovering the mouse over the objects in the drawer removes the pointer
>from the parent panel, causing it to auto-hide, taking the drawer
>with it. 

This would be dealt with bug 124016

Also doing a re-title of this bug.
Comment 8 Arvind S N 2003-10-17 03:55:28 UTC
*** Bug 124794 has been marked as a duplicate of this bug. ***
Comment 9 Arvind S N 2003-10-20 04:41:30 UTC
*** Bug 123098 has been marked as a duplicate of this bug. ***
Comment 10 Arvind S N 2003-10-23 08:45:26 UTC
Created attachment 20876 [details] [review]
Patch should fix the bug.
Comment 11 Arvind S N 2003-10-23 08:51:34 UTC
Mark: took this approach so as to avoid some crack in finding out
if the toplevel is a Drawer in panel_toplevel_connect_attached().
Also, could names for methods and enums be shortened ? I can't think
any... guess it's pretty lenghty ones atm. :-)
Comment 12 Mark McLoughlin 2003-10-28 14:37:09 UTC
I've comitted the following fix which should solve this:

2003-10-28  Mark McLoughlin  <mark@skynet.ie>
                                                                     
                                                       
        * panel-toplevel.c: (panel_toplevel_attach_toplevel_hiding):
        Don't unhide drawers if they were originally hidden. Fixes
        bug #121382.
                                                                     
                                                       
Comment 13 Jeremy Nickurak 2003-10-31 08:04:32 UTC
Works just great for me. Much thanks Mark.
Comment 14 Vincent Untz 2004-02-04 16:14:45 UTC
*** Bug 132424 has been marked as a duplicate of this bug. ***