1.92 Regression: scrolling in integrated terminal is borked #224750
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)
Milestone
Does this issue occur when all extensions are disabled?: Yes.
After updating to VS Code 1.92, I noticed several scroll-related issues with the integrated terminal:
After exiting a full screen CLI app (
git diff
orgit log
), sometimes scroll up or down doesn't work anymore until I press cmd+c - at which point I am teleported back to the start of the cli log.See the below video:
Screen.Recording.2024-08-04.at.11.10.16.mov
start
git log
scroll works (though way too sensitive - see issue 2)
press
q
scroll up down no longer works
press
cmd+c
as soon as I try to scroll again, I am teleported to the top of the cli log output (though, at least scroll works after that)
Note, while the above triggers the issue, sometimes the issue also occurs even without that (at one point I just run
git status
and this bug was triggered)In full-screen CLI apps (
vim
,git log
,man
), the scroll sensitivity is way higher than when scrolling in non-full-screen apps. This scroll sensitivity is uncomfortably high, way higher than it was before, and remains high even if I setterminal.integrated.mouseWheelScrollSensitivity
to a very low value like 0.1.Screen.Recording.2024-08-04.at.11.13.41.mov
When scrolling through full-screen CLI app (
git log
orgit diff
), sometimes the terminal will not let me scroll up. If I try to scroll up, I am "teleported" back to previous position. As soon as I scroll down, I can't scroll back up to the previous text.Screen.Recording.2024-08-04.at.11.17.30.mov
Relevant information:
.zshrc
A few relevant settings:
terminal.integrated.smoothScrolling
is off. Enabling it does not make things betterterminal.integrated.fastScrollSensitivity
- N/A as I am not holding theAlt
key - I am just scrolling using the touchpadterminal.integrated.stickyScroll.enabled
is off. Enabling it did not make things betterI am sorry if some of the above reproduction steps a bit vague - some of these don't happen each time so it's hard to see what triggered it. But these all started happening as soon as VS Code got updated to 1.92. I will keep updating this issue if I have more details.
System info
General:
System info:
Enabled extensions (BUT, issues are reproducible with all extensions disabled):
A/B experiment info:
My settings.json (BUT, issues are also reproducible when VS Code is started with empty user dir):
settings.json
The
Output -> Terminal
log when VS Code is started ascode --log trace --user-data-dir ~/Downloads/user-dir --extensions-dir ~/Downloads/extensions-dir
:trace.log
The text was updated successfully, but these errors were encountered: