偶发的中文显示异常 #5350

Closed
opened 2026-01-31 00:11:12 +00:00 by claunia · 4 comments
Owner

Originally created by @zhixiangjoy on GitHub (Dec 3, 2019).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):

Any other software?
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Steps to reproduce

Expected behavior

# background
可以使用selectionBackground(在配置文件级别)(#3471)设置所选内容的背景色

Actual behavior

As shown below. (forgive my pool english)
When I use vim eidt a text in windows terminal(Version: 0.7.3291.0
), input the follow text.In some cases, an exception is triggered. The chinese font size is not correct.
terminal

Originally created by @zhixiangjoy on GitHub (Dec 3, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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] Windows Terminal version (if applicable): Any other software? ``` ``` Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> ``` # background 可以使用selectionBackground(在配置文件级别)(#3471)设置所选内容的背景色 ``` # Actual behavior <!-- What's actually happening? --> As shown below. (forgive my pool english) When I use vim eidt a text in windows terminal(Version: 0.7.3291.0 ), input the follow text.In some cases, an exception is triggered. The chinese font size is not correct. ![terminal](https://user-images.githubusercontent.com/15685217/70017393-ed274f00-15bd-11ea-822e-2ba2fe29a14c.gif)
claunia added the Resolution-Duplicate label 2026-01-31 00:11:12 +00:00
Author
Owner

@mkitzan commented on GitHub (Dec 3, 2019):

This behavior is so strange. There's a duplicate issue (#2191) tracking this bug or something similar, but it doesn't mention the text size oscillation.

@mkitzan commented on GitHub (Dec 3, 2019): This behavior is so strange. There's a duplicate issue (#2191) tracking this bug or something similar, but it doesn't mention the text size oscillation.
Author
Owner

@zadjii-msft commented on GitHub (Dec 3, 2019):

Huh. that certainly is odd. I'd frankly be shocked if this wasn't the same root cause as #2191, since they're generally manifesting in the same way. I'm going to close this as a dupe but thanks for the report!

/dup #2191

@zadjii-msft commented on GitHub (Dec 3, 2019): Huh. that certainly is odd. I'd frankly be _shocked_ if this wasn't the same root cause as #2191, since they're generally manifesting in the same way. I'm going to close this as a dupe but thanks for the report! /dup #2191
Author
Owner

@ghost commented on GitHub (Dec 3, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Dec 3, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@transtone commented on GitHub (Dec 8, 2019):

根本不是偶发,也不只是中文会这样。一行里的文字过长,字体就会变的很小。

image

@transtone commented on GitHub (Dec 8, 2019): 根本不是偶发,也不只是中文会这样。一行里的文字过长,字体就会变的很小。 ![image](https://user-images.githubusercontent.com/46688/70389780-08032480-19ff-11ea-8c4f-f8763e90c824.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5350