QL-Win / QL-Win/QuickLook

The Markdown viewer renders incorrectly after modifying the screen scaling factor.

Open
#1,956 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
24.7k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
1

Description

Describe the bug
The Markdown viewer renders incorrectly after modifying the screen scaling factor.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Windows11/Settings/System/Screen Scaling'
  2. Click on '150%'
  3. Run QuickLook
  4. Preview some markdown file, works fine here.
  5. Go to 'Windows11/Settings/System/Screen Scaling'
  6. Change to other values like '125%'
  7. Preview same markdown file, the display area is smaller than window area.

Expected behavior
webview display area should fit the window

Desktop (please complete the following information):

  • OS Version: Windows 11 25H2
  • QuickLook Version: MsStore 4.5.0 UWP

Screenshots and Exception Log

Should be:

Image

But:

Image

Besides, Image viewer works fine

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

Start by reproducing the issue on Windows 11 with the Markdown viewer while changing the screen scaling factor between previews. Trace the Markdown viewer's webview sizing and scaling handling; done means the webview display area fits the window after the scaling factor changes, while confirming the Image viewer remains unaffected.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.