files-community / files-community/Files

Feature: Implement hold to preview feature with QuickLook

Open
#6,620 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### Description

QuickLook recently announced a new feature wherein if you hold the `spacebar` key while a file is selected, it will create a temporary popup showing details (a "quicklook"), and as you leave the `spacebar`, the popup automatically closes.

When doing this in Files, it instead has a very buggy behaviour where it open/close the quicklook window very quickly instead of keeping the quicklook window open.

### Steps To Reproduce

1. Select a file in the Files app.
2. Hold down the `spacebar` key.

### Expected behavior

It should follow how the feature works in File Explorer, i.e. it will create a temporary popup which closes when the `spacebar` is released.

### Files Version

Version: 2.0.30.0 OS

### Windows Version

Version: 10.0.22000.282

### Relevant Assets

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the spacebar behavior in the Files app and trace the QuickLook entry point responsible for opening and closing the popup. Done means holding Space keeps one temporary preview open for the selected file and releasing it closes it, without rapid open/close cycling.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.