Skip to content

Terminal selection/scrolling breaks when resizing #238273

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

Open
joaomoreno opened this issue Jan 20, 2025 · 3 comments
Open

Terminal selection/scrolling breaks when resizing #238273

joaomoreno opened this issue Jan 20, 2025 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug terminal-layout Issue relating to resizing, scroll bar position, terminal dimensions, etc. upstream Issue identified as 'upstream' component related (exists outside of VS Code) upstream-issue-linked This is an upstream issue that has been reported upstream
Milestone

Comments

@joaomoreno
Copy link
Member

  1. Have lots of output in terminal
  2. Make a selection
  3. Resize terminal

🐛 Selection moves with the resizing

Also:

  1. Have lots of output in terminal, make sure you are scrolled all the way down
  2. Shrink the terminal, it still appears as you're scrolled all the way down
  3. Scroll down in the terminal

🐛 Scroll position will jump and allow you to scroll down

Screen.Recording.2025-01-20.at.10.35.03.mov
@Tyriar
Copy link
Member

Tyriar commented Jan 21, 2025

I see something similar:

Image

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug upstream Issue identified as 'upstream' component related (exists outside of VS Code) terminal-layout Issue relating to resizing, scroll bar position, terminal dimensions, etc. labels Jan 21, 2025
@Tyriar
Copy link
Member

Tyriar commented Jan 21, 2025

Upstream: xtermjs/xterm.js#5300

@Tyriar Tyriar added the upstream-issue-linked This is an upstream issue that has been reported upstream label Jan 21, 2025
@Tyriar Tyriar added this to the Backlog milestone Jan 21, 2025
@Logickin-Lambda
Copy link

Mine is more intense. It doesn't shift like any of you have described, but it keeps on duplicating the same line:

Image

The bug above were reproduced with a freshly installed vscode, with the python extension installed, the color was a bit off because I have compressed the gif with limited color through ScreenToGif.

This bug has been here since version 1.90, and there was someone posted a similar issue back than, but it was closed with "not planned" because of some "Upstream" issue. That response was not convincing at all because no such bug was found in the Windows Terminal as they have described, and I don't think Microsoft would pass and release their terminal with such a serious bug on their terminal in their OS.

For that reason, I have been staying at version 1.89 which was the last version with the functional terminal without such crazy bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug terminal-layout Issue relating to resizing, scroll bar position, terminal dimensions, etc. upstream Issue identified as 'upstream' component related (exists outside of VS Code) upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

3 participants