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

Terminal output missing (beyond upper left 1/4) - when fullscreen over RDP and disconnect/connect - leave fullscreen usually fixes output #11336

Closed
g0t4 opened this issue Sep 26, 2021 · 9 comments
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Tag-Fix Doesn't match tag requirements Priority-3 A description (P3) Product-Terminal The new Windows Terminal. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@g0t4
Copy link

g0t4 commented Sep 26, 2021

Windows Terminal version (or Windows build number)

10.0.22000.194, 1.11.2421.0

Other Software

I've tried this with different shells:
PowerShell (desktop edition)
PowerShell (core) 7.1 and 7.2 preview
WSL - Official Ubuntu distro

Doesn't seem to matter what shell is running inside the terminal tab.

My machine is Win 11 (latest build)

I've tested both latest stable Windows Terminal 1.10.2383.0 and Preview 1.11.2421.0

Steps to reproduce

  1. Connect over RDP (haven't tested a local connection) - from a mac in my case
  2. Open Windows Terminal
  3. Enter Fullscreen window size (alt+enter)
  4. (optional) run a command that produces output (beyond just the upper left quadrant of screen)
  5. Disconnect RDP (in my case I use Cmd+W on my Mac)
  6. Connect RDP (right away is fine, no need to wait)
  7. Only top left quadrant of content shows
  • Even new running commands--after RDP reconnect, when only the top left quadrant shows--don't show output beyond top left quadrant
  1. Leave fullscreen and re-enter fullscreen to fix this, sometimes I have to change window size too (after leaving fullscreen and before reentering fullscreen).

This doesn't happen with other window sizes in my experience (ie maximized but not fullscreen doesn't trigger the issue).

Expected Behavior

Windows Terminal Output would remain the same. Like it does when the window is maximized (not fullscreen).

Actual Behavior

Only the top left quadrant shows until I leave/reenter fullscreen (alt+enter).

Before RDP disconnect: (Preview 1.11)
image

After RDP reconnect: (Preview)
image

WSL - After RDP reconnect: (Preview)
image

WSL - After fixing (leave/re-enter fullscreen): (Preview)
image

Stable Windows Terminal build - After RDP reconnect:
image

@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 Sep 26, 2021
@g0t4 g0t4 changed the title Terminal Output missing - when in fullscreen over RDP and disconnect/connect - leave fullscreen usually fixes output Terminal output missing (beyond upper left 1/4) - when fullscreen over RDP and disconnect/connect - leave fullscreen usually fixes output Sep 26, 2021
@mkke
Copy link

mkke commented Sep 27, 2021

I have the same effect on my machine, I'm also connecting via RDP from a Mac.
For me it's also happening with windows that aren't full-screen.
Enabling full-screen updates or software rendering makes no difference.
I'm on Windows 10 20H2 19042.1237. Terminal 1.11.2421.0.

@zadjii-msft zadjii-msft added the Product-Terminal The new Windows Terminal. label Sep 28, 2021
@zadjii-msft
Copy link
Member

This looks terribly similar to #11317, though

This doesn't happen with other window sizes in my experience (ie maximized but not fullscreen doesn't trigger the issue).

Makes me think that this is something different. Out of curiosity, does the machine have a different DPI locally than the machine that you're using to RDP to the Terminal? Seems as though we've messed something up with the DPI updates.

@DanielNesbitt
Copy link

The issue does seem to be DPI scaling related. I was able to reproduce this just by changing the DPI scaling.

At 150%:
image

At 200%
image

The output that is missing seems to depend on the difference in scaling. I suspect that RDP goes through a DPI switch even if the scaling factor on both machines is the same. In my case, I noticed this problem when using RDP between two Windows 10 machines with 150% scaling.

@zadjii-msft zadjii-msft added Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) labels Feb 17, 2022
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Feb 17, 2022
@zadjii-msft zadjii-msft added this to the Terminal v1.14 milestone Feb 17, 2022
@zadjii-msft
Copy link
Member

I'm putting this in 1.14 cause it looks like it's just a variation on #11317. Any chance you could share your settings.json file? Seemingly, this has to do with certain font sizes & faces, so more data can't hurt.

@zadjii-msft zadjii-msft removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Feb 17, 2022
@DanielNesbitt
Copy link

Here is my profile. I am using a custom font style.

@g0t4
Copy link
Author

g0t4 commented Feb 17, 2022 via email

@DHowett
Copy link
Member

DHowett commented Feb 17, 2022

(Thanks for all the info!)

I'm gonna tentatively call this a duplicate of #11317 and concentrate our DPI bugs over there. I'm alarmed that this regressed. 😄

@zadjii-msft
Copy link
Member

/dup #11317

@ghost
Copy link

ghost commented Feb 18, 2022

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 ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Needs-Tag-Fix Doesn't match tag requirements labels Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Tag-Fix Doesn't match tag requirements Priority-3 A description (P3) Product-Terminal The new Windows Terminal. 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

5 participants