Ticket #353 (closed defect: fixed)
VM on Windows XP doesn't give up keyboard capture if minimized
|Reported by:||guyr||Owned by:|
|Version:||VirtualBox 1.3.8||Keywords:||windows keyboard capture|
Under Windows XP Home SP2, I have a VM running Linux with a single terminal window running. In Windows, I have a command prompt and a bunch of other stuff. I start by typing a bunch of keys in the Windows command prompt. I then click the task bar icon with the mouse to make the VM the active window. Typing more characters results in them appearing in the Linux console. If I either click the Windows command prompt window directly, or click the corresponding icon in the task bar, the Window command prompt will again accept keystrokes. So far so good.
I now activate the VM again and type some characters; again they show in the terminal window. This time, however, I click the VM task bar icon to minimize the VM. Under this circumstance, the VM fails to give up the keyboard capture. Although the Windows command prompt window shows it has the input focus (title bar is blue), typing characters produces nothing. Furthermore, selecting any other Windows app again produces no output if I use the keyboard. Hitting the right ctrl key results in the keyboard working again, proving that the VM continued to capture the keyboard.
Finally, having done that, if I now click the VM taskbar icon again to unminimize it, now the VM receives no keystrokes. It refuses to capture the keyboard. The only way I can get it to capture the keyboard is if I drop down the VM menu, scroll around, and then click inside the terminal window.
So in summary, using the taskbar icon to minimize a VM badly messes up the VM's handling of the keyboard.