Page 1 of 1

vbox4 Auto capture keyboard

Posted: 18. Jan 2011, 14:57
by tot-to
Recently I updated VirtualBox from 3.2.10 to 4.0.0
In older version with uncheked "Auto capture keyboard" hotkeys of my window manager always worked and arrow in right-bottom was black. Now when I switch workspace (aka virtual desktop) to workspace with Virtual Machine window, the arrow becomes green and hotkeys of window manager don't works.
What shall I do to get back old behavior?

Re: vbox4 Auto capture keyboard

Posted: 18. Jan 2011, 23:49
by Sasquatch
Check File > Preferences > Input in the main GUI. That's still there since they started VB years ago.

Re: vbox4 Auto capture keyboard

Posted: 19. Jan 2011, 11:41
by tot-to
Of course, it still there. But... it don't works. When I uncheck it, keyboard keeps capturing.

Re: vbox4 Auto capture keyboard

Posted: 21. Jan 2011, 23:16
by Sasquatch
Works as advertised for me.

Re: vbox4 Auto capture keyboard

Posted: 25. Jan 2011, 17:40
by tot-to
Whew I activate window with virtual machine, keyboard is capturing in vb4, but not in vb3.

Re: vbox4 Auto capture keyboard

Posted: 25. Jan 2011, 17:41
by tot-to
with unmarked "Auth capture keyboard" in both cases.

Re: vbox4 Auto capture keyboard

Posted: 27. Jan 2011, 00:48
by Sasquatch
You mean that the icon turns green (as in captured) with VB4? I know that even though the keyboard isn't grabbed for focus, as long as the VM window has focus, some keys are sent to the VM (you can type a document without having the keyboard grabbed for example).

Re: vbox4 Auto capture keyboard

Posted: 27. Jan 2011, 16:08
by tot-to
>You mean that the icon turns green (as in captured) with VB4?
Yes, it is. After that, hotkeys of my window manager (i.e. for change workspace or active window) don't works. In VB3 it happens only after pressing host key.

Re: vbox4 Auto capture keyboard

Posted: 28. Jan 2011, 23:46
by Sasquatch
Check the VirtualBox.xml file, you should have the following on line 7 (it's there in my config, you might have a different line number, but it's at the top at least).

Code: Select all

<ExtraDataItem name="GUI/Input/AutoCapture" value="false"/>
If it doesn't say "false", then the option is never saved. If it does say "false", then I really wonder what is different on your system compared to mine that makes VB grab the keyboard despite the option.

Re: vbox4 Auto capture keyboard

Posted: 23. Feb 2011, 05:46
by Villain
Bump.

Have the same problem here, with a freshly installed VBox 4.0.4. Occurs when I switch to the running VM window, only under the condition that the cursor is over the desktop area of the VM (i.e. doesn't happen when the cursor is over a VBox toolbar). In fullscreen mode, it doesn't happen when switching between virtual desktops on my host, but does happen when switching between windows on the same virtual desktop.
Auto-capture checkbox is, of course, unchecked, and the GUI/Input/AutoCapture option in VirtualBox.xml is accordingly set to false.

Host is Slackware 13.1, x86. DE is Xfce.

This is very irritating - I'd be grateful for any help.

Re: vbox4 Auto capture keyboard

Posted: 26. Feb 2011, 16:17
by Sasquatch
Exactly what is happening when you're doing what, and what are you expecting to happen instead? You're quite vague about your issue.

Re: vbox4 Auto capture keyboard

Posted: 28. Feb 2011, 17:24
by excel12
I have the same problems as the users above. For this reason I just abandoned version 4.0.4 and returned to 3.2.
The problem is the following: whatever you do, whether you have the Auto Capture option disabled in the "Preferences" or you do it manually in the configuration file mentioned before, VirtualBox just ignores it. The symptoms are following:
1. My VirtualBox works in full-screen mode (guest OS Windows XP).
2. Using Ctrl-Tab (kde) I switch from e.g. xterm windows to VirtualBox (Windows XP) window.
3. I write something or move a mouse cursor. From now on Ctr-Tab switched between windows inside Windows XP. With auto capture disabled it should still switch between kde windows (this was happening with ver. 3.2).

Shall I report a bug?