MWB hardcoded hotkey breaks KeepassXC auto-type (Ctrl+Shift+Alt+K) #26454
Labels
Issue-Bug
Something isn't working
Needs-Team-Response
An issue author responded so the team needs to follow up
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Microsoft PowerToys version
0.70.0
Installation method
WinGet
Running as admin
Yes
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
✔️ Expected Behavior
As no shortcut for Mouse Without Borders has been configured for Ctrl+Shift+Alt+K, I expect the KeepassXC hotkey to be triggered as normal, whether MWB is running or not.
❌ Actual Behavior
Whenever Mouse Without Borders is enabled, KeepassXC's auto-type hotkey, bound to Ctrl+Shift+Alt+K, is non-functional.
Investigating the source shows a hardcoded hotkey Ctrl+Shift+Alt+K:
PowerToys/src/modules/MouseWithoutBorders/App/Class/InputHook.cs
Lines 648 to 655 in 202bb4c
It seems Ctrl+Shift+Alt+K toggles the 'Use Key Mappings' option, visible on the old MWB Settings page (or UseVKMap in settings.json).
I'm not sure what this setting is supposed to do. The tooltip refers to http://aka.ms/mm, but I can't see anything relevant there.
The implementation also looks rather suspect -- a property with a getter that returns a new Hashtable on every access? (The above ContainsKey(0) check presumably always fails as a result.)
PowerToys/src/modules/MouseWithoutBorders/App/Class/Setting.cs
Lines 918 to 924 in 202bb4c
Other Software
KeepassXC 2.7.5
The text was updated successfully, but these errors were encountered: