Top of text is cut off when the terminal is in full screen mode #21989

Open
opened 2026-01-31 08:00:12 +00:00 by claunia · 6 comments
Owner

Originally created by @dimbleby on GitHub (Jul 22, 2024).

Originally assigned to: @lhecker on GitHub.

Windows Terminal version

1.20.11781.0

Windows build number

10.0.22631.3880

Other Software

No response

Steps to reproduce

maximize window, read text

Expected Behavior

whole of text visible

Actual Behavior

top of text not visible

image

Originally created by @dimbleby on GitHub (Jul 22, 2024). Originally assigned to: @lhecker on GitHub. ### Windows Terminal version 1.20.11781.0 ### Windows build number 10.0.22631.3880 ### Other Software _No response_ ### Steps to reproduce maximize window, read text ### Expected Behavior whole of text visible ### Actual Behavior top of text not visible ![image](https://github.com/user-attachments/assets/da70f0a4-3090-4145-9b6d-d5a8ab8d9ba6)
claunia added the Area-RenderingIssue-BugPriority-3Needs-ReproProduct-Terminal labels 2026-01-31 08:00:13 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 22, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Jul 22, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Left side of text is cut off when maximizing windows terminal on non-primary monitor (#1055)](https://github.com/microsoft/terminal/issues/1055), similarity score: 0.85 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@dimbleby commented on GitHub (Jul 22, 2024):

https://github.com/microsoft/terminal/issues/1055 is similar, but ancient (and fixed)

As in that one, I see this behaviour only on my non-primary monitors (1920 x 1080) and not on my primary monitor (3000 x 2000)

@dimbleby commented on GitHub (Jul 22, 2024): https://github.com/microsoft/terminal/issues/1055 is similar, but ancient (and fixed) As in that one, I see this behaviour only on my non-primary monitors (1920 x 1080) and not on my primary monitor (3000 x 2000)
Author
Owner

@carlos-zamora commented on GitHub (Jul 24, 2024):

Thanks for filing. Can you share your settings.json? Also, what's your display scale /?

@carlos-zamora commented on GitHub (Jul 24, 2024): Thanks for filing. Can you share your settings.json? Also, what's your display scale /?
Author
Owner

@dimbleby commented on GitHub (Jul 25, 2024):

settings https://gist.github.com/dimbleby/6705f249d8fd54c21f2ad6f354e7aad3

scale "100% (Recommended)"

@dimbleby commented on GitHub (Jul 25, 2024): settings https://gist.github.com/dimbleby/6705f249d8fd54c21f2ad6f354e7aad3 scale "100% (Recommended)"
Author
Owner

@carlos-zamora commented on GitHub (Jul 31, 2024):

Thanks! We can't repro this, but we'll keep it open for investigation. 😊

@carlos-zamora commented on GitHub (Jul 31, 2024): Thanks! We can't repro this, but we'll keep it open for investigation. 😊
Author
Owner

@lhecker commented on GitHub (Aug 19, 2024):

I've received a memory dump from @dimbleby and it shows that all vertical glyph coordinates are correct. But the dump also shows that the swap chain target size is reported as 1920x1081 which is 1px too much vertically. This likely causes the swap chain panel inside the UI tree to be misaligned and shoved up. I believe the entire window is 1px too tall after maximizing and probably indicative of a bug in IslandWindow or similar.

The way to reproduce the issue is by using this font at a 10pt size: input-mono.zip. (This is Input Mono with a customized 0.9x line height.) Then press Alt-Enter or F11 to full-screen the window.

For instance, at 100% display scale these are the first two rows of text at the top-left of the screen:
image

As you can see, the first row of pixels is missing. The issue also reproduces at 150% display scale on my 4K display and is even more pronounced there.

@lhecker commented on GitHub (Aug 19, 2024): I've received a memory dump from @dimbleby and it shows that all vertical glyph coordinates are correct. But the dump also shows that the swap chain target size is reported as 1920x1081 which is 1px too much vertically. This likely causes the swap chain panel inside the UI tree to be misaligned and shoved up. I believe the entire window is 1px too tall after maximizing and probably indicative of a bug in `IslandWindow` or similar. The way to reproduce the issue is by using this font at a 10pt size: [input-mono.zip](https://github.com/user-attachments/files/16662309/input-mono.zip). (This is Input Mono with a customized 0.9x line height.) Then press Alt-Enter or F11 to full-screen the window. For instance, at 100% display scale these are the first two rows of text at the top-left of the screen: ![image](https://github.com/user-attachments/assets/8136b5cf-94bd-43c9-84c4-8a155c194663) As you can see, the first row of pixels is missing. The issue also reproduces at 150% display scale on my 4K display and is even more pronounced there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21989