The behaviour is much better after patching but for example in VMware Workstation (or Player) some problems persist:
When the keyboard is grabbed (mouse is in the window of a VM with VMware Tools) and the keys (Super or Alt) are pressed nothing happens in Unity as expected. But when the keyboard is ungrabbed (mouse leaves the window) shortly after the keypress Unity behaves as if the key was pressed again. Test case: 1. In VMware Workstation (or Player) start a VM with VMware Tools installed. 2. Move the mouse cursor inside the window of the VM. 3. Press Super or Alt. 4. In less than 2 seconds move the mouse cursor outside of the window. 5. Nothing should happen in Unity but Unity actually behaves as if the key (Super or Alt) was pressed again. It seems that there is a timeout for this behaviour. When the keyboard is ungrabbed after more than approximately 3 seconds then nothing happens in Unity as expected. Alternative test case (does not require VMware Tools but is not so annoying.): 1. In VMware Workstation (or Player) start a VM. 2. Grab the keyboard in the VM (Ctrl+G or mouse click). 3. Press Alt. (Super does not demonstrate this problem completely in this variant.) 4. In less than 2 seconds ungrab the kyboard by pressing Ctrl+Alt. 5. Nothing should happen in Unity but Unity actually behaves as if the key (Alt) was pressed again. (With Super Dash only flashes shortly.) ...but since this problem does not show up when the VM is in full screen mode then it seems that the bugfix in Unity behaves correctly as described in this case. -- You received this bug notification because you are a member of Desktop Packages, 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. Status in Ayatana Design: Fix Committed Status in Compiz: Triaged Status in Compiz Core: Triaged Status in OEM Priority Project: Won't Fix Status in OEM Priority Project precise series: Won't Fix Status in Unity: Fix Released Status in Unity 7.2 series: Fix Released Status in “compiz” package in Ubuntu: Triaged Status in “unity” package in Ubuntu: Fix Released Status in “compiz” source package in Trusty: Confirmed Status in “unity” source package in Trusty: Fix Released Bug description: [Impact] After upgrading from Maverick to Natty, I can no longer use the Super (windows) key in Virtual Machine Manager. Previously, as long as I had the Virtual Machine Manager console window in the foreground, I could press the Super key and the start menu would pop up. Since upgrading to Natty, this no longer works, and the search box appears in the upper left. Also see bug #934921 [Test Case] (1) Install virtualbox or virt-manager and qemu-system, create and boot a virtual machine (2) while in the virtual machine (and it should grab the keyboard), press the Super key Expected Result: the super key acts inside the VM (check by install unity on it or using xev) Buggy Result: the super key acts in the host and the Unity Dash is displayed [regression Potential]This patch plays with key grabs and ungrabs: the most likely potential for regression is (a) the existing grabs continue and no fix obtains or (2) the grab is not resumed when returning control from the VM and the Super key does not invoke the Unity Dash. To manage notifications about this bug go to: https://bugs.launchpad.net/ayatana-design/+bug/741869/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp