! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Panel autohide stops working, panel stuck open
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Daniel A 2009-09-25 19:26:51 CEST
The panel autohide feature works after panel is started.  Later, it stops working and the panel is stuck open.  This is unpredictable but I believe it usually occurs after using the XFCE Menu (the applications menu) - not every time I use the menu, but eventually.
Running xfce4-panel in a terminal, the only message I get from the panel is:

** (xfce4-menu-plugin:16425): CRITICAL **: Unable to get keyboard/mouse grab.

I can post any logs or config files that could be useful, just tell me what they are.

This is in Ubuntu 9.04 with XFCE 4.6.0, but I also experienced the same bug with older versions of Ubuntu & XFCE.
Comment 1 Nick Schermer editbugs 2009-10-06 11:00:39 CEST
Looks like a bug in xfdesktop.

@ Brian, this is probably caused when gtk_menu_popup fails, and thus deactivate is never called. I think you can work around this by checking if the menu has the grab after gtk_menu_popup (this is the last thing set in a successful gtk_menu_popup). See patch attached.
Comment 2 Nick Schermer editbugs 2009-10-06 11:01:13 CEST
Created attachment 2581 
Only register menu if it is grabbed.
Comment 3 Daniel A 2009-10-08 10:00:58 CEST
This bug is also extant in XFCE 4.6.1 (I'm also seeing it on a shiny new Xubuntu 9.10, amd64).
Comment 4 Brian J. Tarricone (not reading bugmail) 2009-10-19 07:23:08 CEST
checked in on xfce-4.6 and master

Bug #5792

Reported by:
Daniel A
Reported on: 2009-09-25
Last modified on: 2009-10-19

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Only register menu if it is grabbed. (911 bytes, patch)
2009-10-06 11:01 CEST , Nick Schermer
no flags

Additional information