GNOME Bugzilla – Bug 465423
An Active Menu disables Global Keyboard Shortcuts
Last modified: 2007-08-10 15:59:59 UTC
Please describe the problem: If any GTK+ program (including the Application menus in GNOME) has a menu active (such as File, Edit, About etc. or a pull-down menu), any global shortcuts configured in GNOME are disabled (screenshot, music shortcuts etc.). This is incredibly frustrating behavior. Steps to reproduce: 1. Open any GTK+ program with a menu 2. Activate the menu 3. Try and active any shortcut Actual results: Nothing - the menu remains open and the expected response does not happen. Expected results: Whatever the shortcut is configured to do. I might expect using the shortcut to close the menu, but I would prefer it not to. Does this happen every time? Oh yes. Other information: In my non-expert opinion, I think this is caused by the menu taking priority over the keyboard events (as some menus have keyboard shortcuts) and not passing the events on to anything else after handling them. However, I have no idea how this could be rectified.
This is deeply ingrained in the design of the window system. We have to grab the keyboard when posting a menu. Fixing this would be _very_ hard.