VirtualBox

Opened 12 years ago

Closed 8 years ago

#11242 closed defect (obsolete)

VirtualBox frontend WH_KEYBOARD_LL global hook issue

Reported by: Mihai Hanor Owned by:
Component: other Version: VirtualBox 4.2.4
Keywords: Cc:
Guest type: all Host type: Windows

Description

Host OS: Windows 7 SP1 64 bit

When using the VirtualBox frontend, the WH_KEYBOARD_LL global hook, which gets activated when the VirtualBox VM window comes in focus (UIKeyboardHandler::eventFilter), interferes with the keyboard input of all other processes, if the VirtualBox process is suspended (e.g. while being debugged). The result is each pressed key is delayed several seconds, while the OS is somewhat frozen (not responding as usual). That makes local debugging impossible, if the execution of the VirtualBox frontend gets interrupted while the VM window is in focus.

I don't know if it would fix the issue, but the MSDN documentation does state: "All global hook functions must be in libraries." http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990%28v=vs.85%29.aspx

Could Raw Input be an alternative?

You should be able to reproduce the issue using a timed execution of Sysinternals PSSuspend tool, while the VM window has focus: http://technet.microsoft.com/en-us/sysinternals/bb897540

Change History (1)

comment:1 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette