microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.78k stars 6.58k forks source link

Usage issues related to the "win" key in the "keyboard manager" 与“win”键有关的“键盘管理器”使用问题 #36077

Open 5Alois opened 5 days ago

5Alois commented 5 days ago

Microsoft PowerToys version

0.86.0

Installation method

GitHub, WinGet

Running as admin

None

Area(s) with issue?

Keyboard Manager

Steps to reproduce

I enabled the keyboard manager and swapped the mapping between the win and alt keys on the left side (There is no problem using it at that time. When locking the screen, the mapping is invalid and you still need to press Win+L). Then I switched back to the normal keyboard, but I cannot cancel the mappImage ing (which is manifested as the following three methods being ineffective: opening the keyboard manager then delete the mapping; closing the keyboard manager function; closing the software process). At this point, the functions of the win and alt keys are completely swapped, and alt fully possesses the function of win. When locking the screen, you need to press alt+L

May it be related to whether to run PowerToys as an administrator? But I didn't turn on this feature at the time (see attached picture)

✔️ Expected Behavior

Because I purchased a small wireless keyboard with Apple key positions, I enabled the keyboard manager and swapped the mapping between the left win and alt keys (there was no problem using it at the time. When locking the screen, the mapping was invalid, and you still need to press win+L on the keyboard) When I open the keyboard manager and delete the mapping; Turn off the keyboard manager function; When closing software processes, the functionality of win and alt should be restored.Actually, there is none

❌ Actual Behavior

Because I purchased a small wireless keyboard with Apple key position, I enabled the keyboard manager and swapped the mapping between the win and alt keys on the left side (There is no problem using it at that time. When locking the screen, the mapping is invalid and you still need to press Win+L). Then I switched back to the normal keyboard, but I cannot cancel the mapping (which is manifested as the following three methods being ineffective: opening the keyboard manager then delete the mapping; closing the keyboard manager function; closing the software process). At this point, the functions of the win and alt keys are completely swapped, and alt fully possesses the function of win. When locking the screen, you need to press alt+L  After that, I can only use this function for reverse mapping to ensure the normal use of the keyboard. (still swapping the mapping between the win and alt keys on the left side, but the keyboard is actually normal, and only after mapping can the functions of win correspond to the "win" key)To lock the screen at this time, i need to press alt+L.

Other Software

No response