VirtualBox

Opened 4 years ago

Last modified 4 years ago

#19643 new defect

Shift key status leaking from Guest to Host

Reported by: Ken S Owned by:
Component: VM control Version: VirtualBox 6.1.10
Keywords: shift key leaks Cc:
Guest type: Windows Host type: Windows

Description

If a VBox session is running and has focus, and an app in that guest session has focus, e.g. TextPad, and the shift key is pushed, you can push say a and TextPad displays A, so it has responded to the shift.

An app running in the host that is monitoring for the shift using the standard GetAsyncKeyState function receives notification that the shift key is down and thus will respond to it.

I believed the keybard, when captured, should act on all keyboard actions, and not be left for the host (I guess certain reserved keystrokes would be exempt).

This same scenario works fine on VMWare, which is what I am changing from - has worked for many years.

I cannot provide a workaround.

I can provide a program if required to monitor the shift status on the host.

Change History (6)

comment:1 by Ken S, 4 years ago

Please close.

in reply to:  1 comment:2 by Frank Batschulat (Oracle), 4 years ago

Replying to Ken S:

Please close.

Would be good to explain why you think the bug you've logged is no longer applicable? Thanks.

comment:3 by Ken S, 4 years ago

I was criticised on the forum and decided to bow out. I still regard it as a valid bug. I have tried GetKeyState instead, same result. I drilled down to the bit level, up down or latched, and could not find a way around it. It was interesting to me that caps lock works ok, turn it on in guest and it lights up, click in host and light goes off, back in in guest and on ... was impressed.

in reply to:  3 comment:4 by Frank Batschulat (Oracle), 4 years ago

Replying to Ken S:

I was criticised on the forum and decided to bow out. I still

Could you please include the Link to the forum discussion in this bug. thanks

comment:5 by Ken S, 4 years ago

Do I have to?

comment:6 by Ken S, 4 years ago

https://forums.virtualbox.org/viewtopic.php?f=1&t=98516

I am not trying to get anyone in trouble.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use