GNOME Bugzilla – Bug 322655
GOK should recognize and deal with mouse grabs
Last modified: 2011-10-14 10:58:25 UTC
In some cases it might be necessary or useful for GOK to recognize and react to
mouse grabs. For background discussion to this bug see comments 20-23 etc. on
------- Additional Comment #20 From David Bolter 2005-11-28 14:10 UTC -------
A bit of an aside:
WRT the whole issue of having a non-core gok mouse to avoid mouse grabs... I
wonder if we could trap mouse grab calls and react at that stage:
- not allow the mouse grab?
- unhook from core at that point, re-hooking after the grab?
I doubt this is possible currently, but it might be a future compromise (with a
bit of work).
------- Additional Comment #21 From firstname.lastname@example.org 2005-11-28 15:01 UTC
There's no way to trap mouse grab calls, unless you're the X server. Client
applications can't do that. It makes more sense to extend XEvie, since allowing
client applications to snoop calls from other clients is very troublesome for
lots of reasons (i.e. it breaks the X model, introduces security issues, causes
performance roundtrips, etc. etc.)
------- Additional Comment #22 From David Bolter 2005-11-28 15:14 UTC -------
Yeah I hesitated to move the conversation in this direction because the
libusb/xevie/etc work is important. I notice:
"Option "AllowDeactivateGrabs" "boolean"
This option enables the use of the Ctrl+Alt+Keypad-Divide key sequence to
deactivate any active keyboard and mouse grabs. Default: off. "
I'd like to see this deactivation assigned to gestures. Not now, but something
to think about?
------- Additional Comment #23 From email@example.com 2005-11-28 15:18 UTC
Bear in mind that this deactivation is for "active" grabs, i.e. only works when
a grab is already in effect. The other grabs that applications do are "passive
grabs", which basically means "pending grabs", which take effect (i.e. become
active) when a particular key combination is pressed.
It's possible that GOK could be made to programmatically make this call if it
stops receiving valuator input, I am not sure.
Apologies for any confusion from my cutting and pasting of the comment headers.
Not sure I agree with the summary, as GOK cannot 'recognize' a mouse grab AFAICT.
In fact I'm not sure this RFE makes sense here until/unless XOrg provides client
API for it.
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
gok (GNOME on-screen keyboard) development has been stalled and it has been replaced by caribou . Maintainers don't have future development plan so i am closing all the bugs as WONTFIX.