VirtualBox

Opened 8 years ago

#14836 new defect

Caps-lock cannot be intercepted

Reported by: gmauer Owned by:
Component: guest control Version: VirtualBox 5.0.10
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

I use vim and various vim modes a lot. For this reason, one of the first things I usually do on my host machine is rewire caps-lock to the escape key using AutoHotKey on my host machine.

This worked just fine until the recent update. Every time I would press caps-lock it would be interpreted as an escape everywhere.

After upgrading to 5.0.10 however, *inside the VM* it interprets caps-lock as both hitting escape *and* hitting caps-lock. This means, that every time I hit it, my vim flips into a bizarre mode where it does unexpected things with every key stroke. It would be one thing if it wasn't interpreted as escape at all but its interpreted as *both*.

So in order to get the intended behavior, I have to hit caps-lock *an even number of times*. However if, I only hit it an odd number of times, things start jumping around all over (because vim in caps lock mode is no fun).

Guest/Host: both on windows 8.1

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use