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

Resizing the window creates a HUGE text mess #14448

Open
PeterPedro opened this issue Nov 28, 2022 · 5 comments
Open

Resizing the window creates a HUGE text mess #14448

PeterPedro opened this issue Nov 28, 2022 · 5 comments
Labels
Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.
Milestone

Comments

@PeterPedro
Copy link

Windows Terminal version

1.15.2874.0

Windows build number

19044.2251

Other Software

No response

Steps to reproduce

Write any command, the larger the better but make it easy to check if something gets disordered. Resize the window, try to do it multiple times if the first time you don't notice it, snapping to the corners might make it more obvious.

Expected Behavior

The text gets "reflowed" or ordered correctly depending on the window size.

Actual Behavior

A HUGE mess is created, the text gets duplicated and scrambled, the more times you change the window size the worse it gets.

@PeterPedro PeterPedro added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 28, 2022
@zadjii-msft
Copy link
Member

Could you share maybe a screenshot/? What shell are you using, and/or what program is doing the outputting? I bet this is #3088 just based on the description, but I can't be sure.

@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Nov 28, 2022
@PeterPedro
Copy link
Author

PeterPedro commented Nov 30, 2022

I'm using the Windows Command Prompt shell but it also happens with Powershell and Ubuntu. It's not necessary to run anything, just type/paste some code or text.

I made a video, pasted your answer for an example. The behavior can be different sometimes because I don't have to scroll up always to see the issue, also sometimes the terminal crashes and I can't close it, only with the task manager.

Untitled.mp4

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Nov 30, 2022
@zadjii-msft zadjii-msft added Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Product-Terminal The new Windows Terminal. and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Nov 30, 2022
@zadjii-msft zadjii-msft added this to the Terminal v1.17 milestone Nov 30, 2022
@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 Nov 30, 2022
@RoadToDream
Copy link

This issue relates to multiple rendering issue and still no fix...

@lhecker
Copy link
Member

lhecker commented Apr 12, 2023

I'm working on a rewrite of the text buffer reflow algorithm but won't get to it for 1.18.

@songyang-dev
Copy link

I am experiencing a similar issue with WSL terminals. The windows terminals (command prompt and PowerShell) seem fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

6 participants