VirtualBox

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2513 closed defect (fixed)

Switched Ctrl/Caps key dont work properly in Windows Guests => fixed in svn

Reported by: cryptom Owned by:
Component: other Version: VirtualBox 2.0.6
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

I use the X-Server option

Option "XkbOptions" "ctrl:swapcaps"

to switch the ctrl key with the caps lock key.

Before updating to VirtualBox 2.0, this mapping used to work also in Windows guests. Since the Update to VB 2.0 it doesn't work properly anymore. The Update to 2.0.2 fixed it a little bit (it doesnt crash or freeze the guest any more).

The behavior now is the following: The linux hosts works with ctrl and caps lock switched (see X-Server option above), the windows guest acts as follows:

  • ctrl press and release -> Caps Lock on or off (keyboard LED is turned on/off) -> works correctly
  • ctrl-s (which should be mapped to caps) -> opens the save dialog _and_ -> turns on/off caps lock -> works only partially
  • caps-s (which should open the save dialog box) -> prints a upper case 'S' when caps lock LED is off -> prints a lower case 's' when caps lock LED is on -> works only partially

I hope this will be fixed soon as it is very annoying if you are used to having the keys switched! And it used to work with earlier versions.

Thanks for your great work Tom

Change History (4)

comment:1 by Michael Thayer, 15 years ago

Could you also try this with VirtualBox 2.0.4, in case that makes a difference?

comment:2 by cryptom, 15 years ago

I tried version 2.0.4. The described behavior is the one seen with 2.0.4. Sorry that I did not make this perfectly clear (I've just selected the correct version in the bug description).

I did not see an improvement between versions 2.0.2 and 2.0.4, but it was even worse with 2.0.0.

comment:3 by cryptom, 15 years ago

Unfortunately, version 2.0.6 did not address this problem.

Switching this Ctrl und Caps keys on the linux host does not work correctly in a windows guest. Using the keys alone is working:

  • pressing and releasing the Ctrl key turns the Caps Lock LED on and off
  • nothing happens when pressing the Caps key

But in combination with a second key, it does not work:

  • I still need to hit Ctrl-s to get the saving dialog in apps (_and_ Caps is turned on!!!)

I would very much appreciate a patch to correct the issue. Thanks

Tom

comment:4 by Michael Thayer, 15 years ago

Resolution: fixed
Status: newclosed
Summary: Switched Ctrl/Caps key dont work properly in Windows GuestsSwitched Ctrl/Caps key dont work properly in Windows Guests => fixed in svn
Version: VirtualBox 2.0.4VirtualBox 2.0.6

This works for me with the current development version. The changeset which probably fixed this (which was not backported to the 2.0 series) is http://www.virtualbox.org/changeset/12495.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use