microsoft / microsoft/PowerToys
Command Palette Activation on key down or key up setting
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Description of the new feature / enhancement
Hi, I was wondering about the possibility of having command palette get a setting to either trigger on a key down or key up stroke. Right now it triggers when the activation key is pressed down, but if I wanted to use the activation key with other keys for another shortcut I am unable to because command palette triggers and the shortcut activates in the command palette window instead of the window I intended to execute it in.
### Scenario when this would be used?
Ex: if command palette trigged on alt-s, but I have a program with a shortcut for alt-shift-s then I cannot use that shortcut in the program. I am forced to remap something to get around it. If command palette waited until the activation key comes up then I believe this issue would be solved. It would be nice to see this key down and key up customization in keyboard manager as well.
### Supporting information
_No response_
Contributor guide
Research direction
Start by reviewing how activation is handled in Command Palette and how keyboard shortcuts are configured in Keyboard Manager. Trace the current key-down behavior and identify the settings and UI paths that would need to expose key-down versus key-up activation. Done means the selected behavior works for Command Palette and Keyboard Manager without preventing combinations such as Alt-Shift-S.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100