GNOME Bugzilla – Bug 555570
eats key events when menus open
Last modified: 2010-09-08 13:52:33 UTC
Please describe the problem: If a popup menu is opened, the media keys do not function. Steps to reproduce: 1. Make sure the media keys function properly with totem, rhythmbox 2. launch rhythmbox, play some song 3. Open a popup menu (e.g.: right click on a song, open Application menu, ...) 4. Press any of the media keys (Play, Pause, Stop, Next, Previous, Volume+, Volume-) and notice that they are not working Actual results: Expected results: The associated action e.g.: Play/Pause should be executed. Popups should not capture media key events. Does this happen every time? Happens every time. However wine-popus do not block the media keys. Other information:
Which means that somebody (in this case presumably gtk+) eats the events and keeps gsd from even seeing them. Probably somewhat related to bug #390312.
Menus grab the keyboard, yes. But that is not a bug.
Is there any explanation why popups are so greedy? To my understanding these keys should be always available, like the brightness control keys.
*** Bug 568282 has been marked as a duplicate of this bug. ***
Any news about this? I fully agree with Florian in that the keypress events should be passed further down so that media application can handle them. Why it is not so already / not the behaviour implemented so far?
(In reply to comment #5) > Any news about this? no: it wasn't a bug, and it still isn't. I fully agree with Florian in that the keypress events > should be passed further down so that media application can handle them. Why it > is not so already / not the behaviour implemented so far? because grabs on X11 do not work that way.
Wow, that was a quick reply... :) but it was not an answer to what I meant to ask... :( I shall rephrase my question then: why whoever developed that piece of code has made the choice to implement this functionality that way, and why it has been decided not to address something that from a UI point of view is clearly a flaw [the media keys are equivalent to the mechanical buttons of a tape recorder... the very same symbols are evidence of this]? Thanks!