QL-Win / QL-Win/QuickLook

Don't hide preview window on Enter key press on a folder

Open
#1,756 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.