Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging Terminal window between displays of different scaling results in cropped UI #11525

Closed
flcdrg opened this issue Oct 18, 2021 · 1 comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@flcdrg
Copy link

flcdrg commented Oct 18, 2021

Windows Terminal version (or Windows build number)

1.10.2714.0

Other Software

No response

Steps to reproduce

Given a system with multiple displays:

image

Where display 1 is 3840x2160 at 300% scaling, and display 2 is 3840x2160 at 150% scaling.

Display 2 is set to the default desktop display.

I open Terminal on display 2, it looks correct.

eg.

image

If I then drag the Terminal window to display 1, it seems to crop the rendering of the window content.

image

Clearing content (eg. by using cls) does not have any effect.

image

Resizing the Terminal window while on display 1 does seem to be enough to trigger a repaint/refresh and the full content is then shown.

Expected Behavior

Content would render fully regardless of display

Actual Behavior

Content is cropped when viewed on second display

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Oct 18, 2021
@zadjii-msft
Copy link
Member

Huh. What the devil is going on here. We've seen this recently before, in #11317. I'm inclined to merge the threads, though you have a really good smoking gun here with the text literally cropped in the middle of the screen. So it's like the text did get resized for the new DPI, but either the swapchainpanel didn't get resized, or the internal dxengine's rendering size didn't get refreshed? Weird.

I'm gonna combine the two threads for tracking purposes /dup #11317

@zadjii-msft zadjii-msft added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants