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 97182 - autohide does not always work
autohide does not always work
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.1.x
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 97990 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-10-29 22:52 UTC by Stephane Chauveau
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch should fix the bug (2.13 KB, patch)
2002-11-09 12:59 UTC, Arvind S N
none Details | Review

Description Stephane Chauveau 2002-10-29 22:52:06 UTC
Autohide does not work when the mouse leaves the panel
via the its context menu or via an applet menu. 
Somehow launchers and drawer menus do not have 
this problem.

version: 2.1.1

Steps to reproduce:
===================

(1) Create a panel with autohide
(2) Open the panel menu (with right mouse button)
    or the menu of an applet.     
(3) move the mouse out the panel and of the menu
(4) press the any mouse button to disable the menu.

effect: the mouse is outside the panel but it does not hide.
expected: the panel should hide.

This problem could be related to 
http://bugzilla.gnome.org/show_bug.cgi?id=92937
Comment 1 Vincent Untz 2002-10-30 11:26:59 UTC
Using 2.1.1:
I can reproduce if the steps described above are done quickly.
But anyway, when you move your mouse, the panel hides.
Comment 2 Stephane Chauveau 2002-10-30 13:12:17 UTC
Not for me. Moving the mouse does nothing.
In order to hide the panel I have enter it and leave it again. 

I see that both on my systems at home and in my office. 
Comment 3 Arvind S N 2002-11-08 05:05:58 UTC
*** Bug 97990 has been marked as a duplicate of this bug. ***
Comment 4 Arvind S N 2002-11-09 12:58:37 UTC
On Leave notify for the panel, GDK_NOTIFY_INFERIOR is received due
to which a autohide timer is not started. So replacing
basep_widget_autohide() with basep_widget_queue_autohide() in 
menu_button_menu_popup() and panel_do_popup_menu() fixes the problem.
Comment 5 Arvind S N 2002-11-09 12:59:41 UTC
Created attachment 12186 [details] [review]
Patch should fix the bug
Comment 6 Vincent Untz 2002-11-09 13:51:32 UTC
adding some keywords.
Comment 7 Arvind S N 2002-11-15 10:39:53 UTC
mark ping ? :)
Comment 8 Mark McLoughlin 2002-11-27 04:13:07 UTC
Patch looks fine Arvind. Thanks.
Comment 9 Arvind S N 2002-12-03 08:17:34 UTC
Fixed in HEAD. Thanks.

2003-12-03  Arvind Samptur <arvind.samptur@wipro.com>
        * menu.c (menu_button_menu_popup)
        * panel.c (panel_do_popup_menu): use 
         basep_widget_queue_autohide instead of basep_widget_autohide.
         Fixes #97182