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

Scrolling via mousewheel in the terminal scrolls by a lot on Windows (~12 lines) #35111

Closed
alexdima opened this issue Sep 26, 2017 · 4 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug terminal General terminal issues that don't fall under another label verified Verification succeeded windows VS Code on Windows issues
Milestone

Comments

@alexdima
Copy link
Member

Testing #34868

Scrolling using the mouse wheel appears to scroll a constant number of lines, regardless of the terminal height, which can become very confusing:

emoji-test.txt

  • save this file as UTF8 with bom (I think it is already)
  • configure "terminal.integrated.scrollback": 5000
  • run chcp 65001
  • run cat emoji-test.txt

This is using all the defaults:

  • the editor scrolls by ~5 lines
  • native PowerShell scrolls by ~3 lines
  • our integrated terminal scrolls by ~12 lines

For example, in this case, scrolling via mouse wheel once has jumped over "Venezuela", which is very confusing:
terminal-scroll

@alexdima alexdima added the terminal General terminal issues that don't fall under another label label Sep 26, 2017
@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug windows VS Code on Windows issues labels Sep 26, 2017
@Tyriar Tyriar added this to the October 2017 milestone Sep 26, 2017
@Tyriar
Copy link
Member

Tyriar commented Sep 28, 2017

Might be related to #35191

@alexdima
Copy link
Member Author

I was scrolling with an external mouse, not with the Surface Trackpad.

@jfftck
Copy link

jfftck commented Mar 2, 2018

I am also seeing this issue and when the terminal is only 8 lines tall it skips large sections. This causes me to not know where I am in the output.

Could smooth scrolling be added as a setting to give a temporary fix for this issue? At least I would be able to see the lines as they scroll by.

@Tyriar
Copy link
Member

Tyriar commented Mar 13, 2018

I believe this is fixed in the latest version of Insiders, it now correctly scrolls depending on the mouse's configuration by the pixel/line/page amount.

@Tyriar Tyriar closed this as completed Mar 13, 2018
@Tyriar Tyriar modified the milestones: Backlog, March 2018 Mar 13, 2018
@mjbvz mjbvz added the verified Verification succeeded label Mar 27, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug terminal General terminal issues that don't fall under another label verified Verification succeeded windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

4 participants