


Thanks very much for continuing to investigate this problem. I'm reporting this here instead of as a separate bug as I think it's just another symptom of the same problem.įor now I've changed my host key to the Scroll Lock button, that appears to be a useful workaround for now. A couple of times now that has wound up locking the mouse and keyboard within VirtualBox when I come back to it, and it appears to coincide with times the control key has gotten stuck down. I also run the VMware Infrastructure Client within this virtual machine, and that requires the use of Ctrl+Alt to free the mouse from its client windows. Tapping the left control key on the keyboard does seem to free it up again. It means typing is impossible, and unlocking a machine with your password is a nuisance until you spot what is going on. I'm running VirtualBox full screen on my second monitor, and often hit ctrl so that I can leave the virtual machine running, but free the mouse so I can continue working on my primary screen.Īfter doing this, about a quarter of the time, I go back to the guest to find the control key stuck down. Does VirtualBox always send the "key-up" message to the guest after the host key has been pressed? I suggest /software/autohotkey/?platform=linux this last may be replaced by your guest OS.Not all the time, but regularly enough to be a nuisance, the host key gets stuck down within the guest after it's been used to free up the mouse. The problem with this is that every time you want to send keys like Win, it opens the host menu instead of the guest one, so you need to toggle manually every time to send the key to the guest OS.Īlternatively, Virtaualbox may be allowed to capture the keyboard and use a guest side automation solution.

The default behavior is to capture, to prevent this and send keys from your AHK script, right click it, choose "Keyboard settings.", in the dialogue un-tick "Auto capture keyboard" check box. The keyboard shortcut to toggle this is Host+k. If you hover your cursor over it, a tool tip will tell you the meaning. This indicates if the keyboard is being captured or not. Capturing and Releasing Keyboard and Mouse In the lower right corner of the guest window, there is a button with a downward arrow. As of writing I've updated to Version 6.1.38 r153438 (Qt5.6.2), but I don't think this is new except for me.Īs per 1.8.2.
