I've read the code in unity/services/panel-service.c
about PanelService: close a menu and re-send the keyevent when handling a
combination Or when we try to open HUD/Dash. Also, close the active
menu if a new application is opened and focused. (LP: #10905,
#1234457, #1197071),
but it still does not resolve the problem about PrintScreen key to
snapshot context menu.
The root reason is at the XGrabKeyboard in popup_grab_on_window() of
gtk/gtkmenu.c.
Guys, don't bother yourself any more, as you know linux means freedom, we could
get rid of XGrabKeyboard by ourselves:
http://stackoverflow.com/a/20071469/264181
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/10905
Title:
Keyboard shortcuts, window management - Can't use any global keyboard
shortcuts or hotkeys when applet/menu is open
To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/10905/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs