Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key mappings don't work when Visual Studio has focus #23582

Open
tsobczynski opened this issue Jan 24, 2023 · 3 comments
Open

Key mappings don't work when Visual Studio has focus #23582

tsobczynski opened this issue Jan 24, 2023 · 3 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@tsobczynski
Copy link

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.

image

✔️ 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

@tsobczynski tsobczynski added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 24, 2023
@tommy-hansen
Copy link

It seems intermittent. I'm using VsVim 2022 and it works for the most part but sometimes not. Ctrl-[ will sometimes put caps lock on. Remapped Insert will turn capslock off until next time it fails.

Powertools 0.69.1.

@Yushann
Copy link

Yushann commented Nov 1, 2023

I have the same problem. Kyeboard Manager works fine everywhere except the Visual Studio 2022.

Other Information
Windows 10 Enterprise 22H2
Microsoft Visual Studio Enterprise 2022 (64-bit) Version 17.6.5
PowerToys v0.74.1

@xpengineer
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
None yet
Development

No branches or pull requests

4 participants