microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.27k stars 6.55k forks source link

Keyboard Manager unreliable running-in-background interruption #30639

Open PritchardJ opened 10 months ago

PritchardJ commented 10 months ago

Microsoft PowerToys version

0.67.1

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

Keyboard Manager

Steps to reproduce

  1. Use Keyboard Manager to remap the Caps Lock key to Esc. I cannot reproduce the bug so I don't know if this is involved, but I was using Visual Studio Code when it happened. I switched files pressing Alt + 3 and began editing immediately, pressing Caps Lock to escape multiple cursors

✔️ Expected Behavior

I remap Caps Lock to keep from enabling it accidentally, using the button as an escape key instead. This setup has worked for a long time, and I expect pressing caps lock to always be interpreted as escape, every time.

❌ Actual Behavior

The mapping failed for a very brief moment, with Caps Lock triggering a caps lock instead of escape. The caps lock was turned on for just one keypress, with the mapping going back to normal (back in effect) immediately after. That means caps lock is unexpectedly on, and cannot now be turned off by pressing the key. I had to open Power Toys and temporarily disable the mapping to turn caps lock off. It's as if Keyboard Manager's running in the background experienced a very brief interruption. After seeing this happen and having no explanation for it, I don't think I can go on using Power Toys for this use case because it's too unreliable.

Other Software

Visual Studio Code Version: 1.85.1

Fantasy-programming commented 8 months ago

I have the same issue