GNOME Bugzilla – Bug 524499
Locate pointer eats mute button
Last modified: 2009-08-31 19:32:52 UTC
using the current SVN. 1. Map volume up/volume down and mute buttons 2. Check that they work properly 3. Turn on the "locate pointer feature" 4. Press Ctrl and see that "locate pointer works" 5. Press volume up/down and see that they work properly 6. Press mute, doesn't work Attached patch fixes it for me. the XUngrabKeyboard is definitely not needed, as there's no corresponding grab anywhere.
Created attachment 108065 [details] [review] gsd-mouse-too-much-grab.patch
I saw it eats alos row selection in rhythmbox, but not on other application (at least for now); I'll try the patch tonight
Bleh, it's utterly broken. It's also pretty broken in the first place...
Right, that's the good patch, but we also need to grab the pointer, and disable the keyboard grab when a mouse button is pressed at the same time as the Ctrl key is.
*** Bug 548882 has been marked as a duplicate of this bug. ***
*** Bug 570751 has been marked as a duplicate of this bug. ***
The keyboard ungrab _is_ necessary to give up the keyboard grab you get when the key grab triggers. However, just ungrabbing the keyboard there wreaks havoc with other plugins that have key grabs and expect to use the keyboard grab to get the key release events, which is what this bug is about. I'll attach a patch that avoids the interference by moving the locate-pointer feature out to a separate process.
Created attachment 138957 [details] [review] patch
Hm, I think I need a "broken indentation" stock answer... Other than that, please commit. Thanks.
I hope the indentation is as you want it now.