microsoft / microsoft/PowerToys
HotKey behavior of "space" for Peek component
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Description of the new feature / enhancement
Copilot explains why SPACE cannot be captured correctly when entering into an folder(explorer), saying that it is because of the focus mechanism and the impact of ListView UI Control. In practice, one needs to activate the hotkey capture by press another combination of hotkeys. It is understood that developers want to keep SPACE as it has historically been, but apparently not many users are aware of this, and may consider this as a BUG. So I strongly suggest that either add a special switch for Peek that allows Peek to register SPACE as a Global Hotkey as Quicklook does, or at least add an instruction telling people that if they want smooth use of Peek, they need to appoint a new HotKeys starting with exempted keys (Ctrl, alt...)
### Scenario when this would be used?
The space key for Peek can not be captured correctly when entered into a folder.
### Supporting information
_No response_
Contributor guide
Research direction
Start with the Peek component's hotkey capture behavior and reproduce the SPACE-key failure after entering a folder in Explorer. Compare the focus and ListView behavior described in the issue with QuickLook's handling, then determine whether the result should be a Peek switch for SPACE or user guidance; done means the behavior is reliably addressed and verified in that scenario.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100