Unity takes keyboard focus when in Virtualbox guest

Bug #1060225 reported by aproposnix
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity
New
Undecided
Unassigned

Bug Description

Ubuntu 12.04 (64bit) - latest updates applied
Affects Unity 3D (not tested on 2d)

Issue Summary: When using virtualbox (VB) in fullscreen mode, VB takes control of the screen. This means that even though the Linux host desktop is locked I still am able to function in the guest OS without having to log into the linux host (when the screnesave lock comes on).

The problem I have been faced with over the past few months is that whenever I lock the VB guest (it's windows, so I'm using Alt-L to lock it) it activates the Unity Dashboard in the background. What happens then is that when I come back to my computer I log into windows but the password is actually being written to the Unity Dashboard. I've had it happen already a few times at work where I had people standing around and my password was exposed to them.

Expected behaviour - Virtualbox should have control of the screen until I either minimize the VB or I close it completely. Instead of this, sometimes the host OS is taking over the keyboard in the background.

aproposnix (aproposnix)
description: updated
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

As long as "Host key capture" is turned on in Virtualbox, Unity shouldn't get the Alt key presses in the first place. Can you ensure that setting is on when you face this issue?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 741869, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.