I'm developing a WinUI 3 application and using keyboard accelerators for various actions. However, I've noticed that some key combinations don't work as expected on Windows 10 unless Developer Mode is enabled. Interestingly, the same key combinations work perfectly fine on Windows 11 without requiring Developer Mode.
For example: Key Combination 1: alt+shift+f12
Has anyone else encountered this issue? Are there specific settings or configurations in Windows 10 that might be causing this behavior? Is there a workaround or a known solution to make the accelerators work without enabling Developer Mode?
Any insights would be greatly appreciated!
What I Tried and What I Expected: I implemented keyboard accelerators in my WinUI 3 app and tested them on both Windows 10 and Windows 11. I expected the accelerators to work seamlessly across both operating systems without requiring special configurations.
What Actually Happened: On Windows 10, certain key combinations only worked when Developer Mode was enabled. Without Developer Mode, these combinations did not trigger the expected actions. On Windows 11, the accelerators worked as intended regardless of Developer Mode.
Steps Tried:
Verified the implementation of the accelerators. Tested with different key combinations. Checked permissions and configurations in Windows 10. Despite these steps, the issue persisted in Windows 10 unless Developer Mode was activated.