Kirill: I am commenting as the member of the VirtualBox development team
in charge of keyboard handling in Linux.  My guess is that the "locate
pointer" tool places a "passive grab" [1] on the control key.  What this
means if it is correct is that as of the point when the grab is placed
no other application can see the control key being pressed or released
unless the tool explicitly allows it (I presume it doesn't); however
they can still (usually) see combinations including the control key,
such as Ctrl-Scroll in Frederik's example above.  Certainly VirtualBox
relies on being able to spot individual keypresses and releases and
doesn't try to monitor key combinations to work around this sort of
thing: we take the point of view that if the user wants to take keys
away from us for other purposes they should know what they are doing,
and we don't want to add complexity to deal with it and risk creating
bugs for other people.  If there were a nice way of spotting passive
grabs by other applications we might warn the user, but I don't know of
any way other than trying to grab every key ourselves to see which ones
we can't get.

[1] http://tronche.com/gui/x/xlib/input/XGrabKey.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/9441

Title:
  the locate pointer option breaks other keybindings

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/9441/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to