← Back to team overview

compiz team mailing list archive

[Bug 741869] Re: Unity/compiz intercepts Super and Alt keypresses from grabbed windows like VMs.

 

As mentioned in duplicate bug 806255:
---
FYI, the root cause of this bug appears to be because compiz uses XkbStateNotify, which is part of the X Keyboard Extension. Using this extension has the unfortunate side-effect (by design) of ignoring grabs held by other clients and still giving you key events even when you shouldn't be receiving them. This is documented is the spec:

"As with all Xkb events, XkbStateNotify events are reported to all interested clients without regard to the current keyboard input focus or grab state."
[http://www.x.org/releases/X11R7.6/doc/libX11/specs/XKB/xkblib.html]
---
The only remaining fix for this bug is to rewrite the modifier handling code in compiz to not use XkbStateNotify at all. Because that is the root cause of this bug. However that's a very large and risky change we can't afford to do for a while. :(
---

** Summary changed:

- Pressing the Super (windows) key while in full screen virtual machine or remoting apps no longer works
+ Unity/compiz intercepts Super and Alt keypresses from grabbed windows like VMs.

** Project changed: unity => compiz

** Package changed: unity (Ubuntu) => compiz (Ubuntu)

** Also affects: compiz-core
   Importance: Undecided
       Status: New

** Changed in: compiz-core
       Status: New => Confirmed

** Changed in: compiz
   Importance: Low => Medium

** Changed in: compiz-core
   Importance: Undecided => Medium

** Changed in: compiz (Ubuntu)
   Importance: Low => Medium

** Changed in: compiz
    Milestone: None => 0.9.8.0

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/741869

Title:
  Unity/compiz intercepts Super and Alt keypresses from grabbed windows
  like VMs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/741869/+subscriptions