Weird behaviour when font size up and down in WSL #7836

Open
opened 2026-01-31 01:13:49 +00:00 by claunia · 0 comments
Owner

Originally created by @skyline75489 on GitHub (Apr 30, 2020).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] 1909
Windows Terminal version (if applicable): From 0.10 to latest master

Any other software?

Steps to reproduce

I was playing around since we fixed #5479 recently. But I found that the content became weird and duplicate when I'm scaling font up & down.

Originaly there's only one prompt line. Scale the font to a very large one (I mean large enough to trigger line wraps) and down. Repeat.

Expected behavior

Well, anything less confusing would be good.

Actual behavior

After a couple of times, you got something like this:

图片

图片

I can only reproduce this in WSL. Distro does not seem to matter.

Originally created by @skyline75489 on GitHub (Apr 30, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] 1909 Windows Terminal version (if applicable): From 0.10 to latest master Any other software? ``` # Steps to reproduce I was playing around since we fixed #5479 recently. But I found that the content became weird and duplicate when I'm scaling font up & down. Originaly there's only one prompt line. Scale the font to a very large one (I mean large enough to trigger line wraps) and down. Repeat. <!-- A description of how to trigger this bug. --> # Expected behavior Well, anything less confusing would be good. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior After a couple of times, you got something like this: ![图片](https://user-images.githubusercontent.com/4710575/80707071-f2140e80-8b1b-11ea-864a-5b31ec422be8.png) ![图片](https://user-images.githubusercontent.com/4710575/80707131-140d9100-8b1c-11ea-95d4-45401590fef4.png) <!-- What's actually happening? --> I can only reproduce this in WSL. Distro does not seem to matter.
claunia added the Resolution-Duplicate label 2026-01-31 01:13:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7836