Don't hide preview window on Enter key press on a folder
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 24.7k
- Forks
- 1.3k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
When navigating folders with the keyboard in Explorer, and having Quicklook off to the side for example, pressing Enter on a folder closes QuickLook, requiring pressing space to open it again and lifting hands from keyboard to reposition the window again based on preference/current needs.
Describe the solution you'd like
When previewing a folder, QuickLook should stay open instead of closing on the Enter key press. On files this makes sense since the file will open, but on a folder it does not, since it's navigation within Explorer. In the same way the backspace key doesn't close QuickLook, nor does pressing space when selecting multiple files while holding ctrl. The same logic should apply in this case.
Describe alternatives you've considered
An option to remember the window position/size/etc would also help with this since pressing the spacebar would put QuickLook back where it was before it closed. However, some people do not prefer this, and so the issue would still exist for them. In this case I believe my solution is the most appropriate.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in Windows Explorer with QuickLook open, then trace the keyboard handling for Enter while a folder is previewed. The change is complete when Enter keeps QuickLook open for folders, while pressing Enter on files retains its existing behavior; compare this with the existing Backspace and multi-selection handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100