Fix Dark Mode Bug

Open
#1,959 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
desktop

Research direction

Reproduce the issue by running QuickLook, opening it again from the Start Menu, and switching between Windows light and dark modes. No source file or test is named; trace the window shown by this entry point and verify that it follows the system theme in both modes.

Written by the indexing model from the issue text.

Description

For all's convenience, please use English to fill this issue.

Please search within existing issues before the submission. Has this issue already been reported?

Describe the bug
A clear and concise description of what the bug is.
When the QuickLook app is running, as we all know, if we click this app again in Start Menu, a windows will appear to remind us that this app is running. But recently, I found this window's style doesn't follow system's dark/light mode. It always stays in light mode.
To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Start Menu'
  2. Click on 'QuickLook'(make sure this app is running previously)
  3. When the windows appears, we could see error.

Expected behavior
A clear and concise description of what you expected to happen.
The window should follow system's dark/light mode to change its own style.
Desktop (please complete the following information):

  • OS Version: Windows 11 25H2
  • QuickLook Version: 4.5.5.0 from Microsoft Store

Screenshots and Exception Log
If applicable, add screenshots and logs to help explain your problem. The log file is located in one of several locations.

Image
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.