dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #06293
[Bug 10905] Re: Keyboard shortcuts, window management - Can't use any global keyboard shortcuts or hotkeys when applet/menu is open
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 DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
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
Status in Ayatana Design:
Fix Committed
Status in GTK+ GUI Toolkit:
Won't Fix
Status in Unity:
Fix Released
Status in “unity” package in Ubuntu:
Fix Released
Bug description:
Reproduce scenario :
- left click on an applet
- try the ^-Alt arrow to switch desktop
When an applet contextual menu is opened, you can't switch desktop with keyboard shortcuts.
Normally,we should have a consistent behaviour in regards with the workspace-selector applet, ie :
- first ^-Alt-arrow (for the workspace-selector : click), the menu is unfolded
- second ^-Alt-arrow , we go to the next desktop
===
see bug 29894 for not being able to take screenshots when menu is
open, another symptom of this bug.
----------------------------------
Note from Design:
This is a critical bug, a user should be able to use a global keyboard
shortcut at any moment, including when a menu is open. In the
unlikely case that there is a conflict between the global keyboard
shortcuts ( see
https://launchpadlibrarian.net/85352653/Super_key_shutcuts_overlay.png
) and the menu keyboard shortcuts, the menu keyboard shortcuts should
take precedence.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/10905/+subscriptions