Key mappings don't work when Visual Studio has focus #23582
Labels
Issue-Bug
Something isn't working
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Microsoft PowerToys version
0.66.0
Installation method
GitHub, PowerToys auto-update
Running as admin
No
Area(s) with issue?
Keyboard Manager
Steps to reproduce
Set up Keyboard Manager to swap Caps Lock with Control, and Left Win with Left Alt.
Exercise the remapped keys, see that they are swapped as requested.
Run Visual Studio.
Exercise the remapped keys again.
✔️ Expected Behavior
I expected the remapped keys to still be remapped when Visual Studio has focus.
❌ Actual Behavior
Instead, the keys behave according to their original function with no remapping applied. As soon as focus leaves Visual Studio, remapping resumes.
For example, press remapped Win in Visual Studio, and the menu bar pops up. Press remapped Alt in Visual Studio, and the Windows menu appears. Now that focus has left Visual Studio, press remapped Win and the Windows menu disappears.
Other Software
Microsoft Visual Studio Community 2022 (64-bit)
Version 17.4.4
running on Windows 10 21H2
The text was updated successfully, but these errors were encountered: