Add a way to bring the preview window back to front when "Stay on top" is off

Open
#2,013 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
csharp
Domain
desktop

Research direction

No source file, test, or entry point is named. First reproduce the audio-preview scenario with Stay on top disabled, then locate the preview window and pin-button behavior; completion depends on choosing and implementing one of the proposed restoration mechanisms and verifying that the window can be recovered without reopening it.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
When "Stay on top" (the pin button) is off and I click another application, the QuickLook window goes behind it. Since QuickLook has no taskbar icon, there's no way to bring the window back to the front. I have to close whatever is covering it, or dismiss and reopen the preview. This is especially frustrating with audio/video previews, which keep playing in the background while I can't reach the controls.

Describe the solution you'd like
Any one of these would solve it:

  • Show a taskbar icon while the window is unpinned, or add an opt-in setting such as "Show in taskbar".
  • Add a global hotkey to restore the preview window.

Describe alternatives you've considered
Keeping "Stay on top" always on avoids the problem, but then the window covers other apps, which defeats the purpose of turning it off.

Additional context
QuickLook version: 4.5.0
Windows version: 11
Reproduction: preview any audio file, turn "Stay on top" off, click a maximized app so it covers the preview, then try to get back to the preview window.

Dominant language
C#
Stars
25.8k
Forks
1.4k
Avg merge
3d 19h
Merged PRs (30d)
3

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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.

More from QL-Win/QuickLook

All issues in QL-Win/QuickLook

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.