After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322655 - GOK should recognize and deal with mouse grabs
GOK should recognize and deal with mouse grabs
Status: RESOLVED WONTFIX
Product: gok
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: David Bolter
David Bolter
gnome[unmaintained]
Depends on:
Blocks: 323648
 
 
Reported: 2005-11-28 15:27 UTC by David Bolter
Modified: 2011-10-14 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Bolter 2005-11-28 15:27:15 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
bug 319735:
"
------- 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 bill.haneman@sun.com 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. "
-- http://wiki.x.org/X11R6.8.0/doc/Xorg.1.html

I'd like to see this deactivation assigned to gestures.  Not now, but something
to think about?


------- Additional Comment #23 From bill.haneman@sun.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.
"
Comment 1 David Bolter 2005-11-28 15:30:14 UTC
Apologies for any confusion from my cutting and pasting of the comment headers.
Comment 2 bill.haneman 2005-11-28 18:01:55 UTC
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.
Comment 3 Calum Benson 2006-04-26 17:11:23 UTC
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
Comment 4 Akhil Laddha 2011-10-14 10:58:25 UTC
gok (GNOME on-screen keyboard) development has been stalled and it has been replaced by caribou [1]. Maintainers don't have future development plan so i am closing all the bugs as WONTFIX.

[1] https://mail.gnome.org/archives/gnome-bugsquad/2011-October/msg00001.html