Open dimbleby opened 3 months ago
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
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)
Thanks for filing. Can you share your settings.json? Also, what's your display scale /?
settings https://gist.github.com/dimbleby/6705f249d8fd54c21f2ad6f354e7aad3
scale "100% (Recommended)"
Thanks! We can't repro this, but we'll keep it open for investigation. 😊
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:
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.
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