KEMBAR78
Sluggish scrolling in notebook windows [monaco editor restore] · Issue #117644 · microsoft/vscode · GitHub
Skip to content

Sluggish scrolling in notebook windows [monaco editor restore] #117644

@DavidKutu

Description

@DavidKutu

@oscarrutt commented on Mon Feb 22 2021

Scrolling in Jupyter notebook windows is sluggish, laggy, and jumpy. It's not horrible but it is bad enough to cause stress, aggravation, and fatigue. Scrolling is nowhere as nice as in other applications when you get that "massless" feeling. JupyterLab in Firefox is an example of a Jupyter notebook that runs in a cross-platform environment that scrolls nearly perfectly. The problem appears when scrolling with either two-finger drag on the trackpad or click-dragging the thumb bar in the elevator region.

My computer runs macOS 10.11.6. This is an older version of the OS but it should have no effect on scrolling since all other apps scroll well.

I'm using Jupyter in VSCode Insiders to write Julia. I don't know if the problem extends to non-Julia notebooks.

Version: 1.53.0-insider
Commit: 8490d3d
Date: 2021-02-03T15:52:19.585Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 15.6.0


@jaymegordo commented on Mon Feb 22 2021

+1 I've noticed this as well since I started using insiders + native notebooks. (both python and R)

Version: 1.54.0-insider
Commit: 11cd760
Date: 2021-02-22T06:44:36.656Z
Electron: 11.2.3
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 20.3.0


@DavidKutu commented on Mon Feb 22 2021

Thanks for letting us know @oscarrutt. I checked on a windows 10 laptop and couldn't feel a difference. I'll make sure to have someone test it with a mac.


@DavidKutu commented on Wed Feb 24 2021

@oscarrutt and @jaymegordo, does this only happen with native notebooks? Does it happen say, on a regular python file in vs code?


@jaymegordo commented on Wed Feb 24 2021

@DavidKutu I remember really noticing jittery/slow scrolling when I switched from "old notebooks" to native notebooks a few moths ago. In a standard large python file I can scroll top-bottom in a fraction of a second, but in a NN there's definitely a bit more resistence. I assume this is probably just related to rendering all the extra assets (tables/charts etc). I think the NN scrolling has improved since I first started using it, but I cant actually compare to the old notebooks right now because they don't even work in my stable vscode (I think its something related to "experimental" settings, haven't had time or need to make it work). Its not horrible, just makes me a bit more hesitant to want to scroll around quickly.

So in summary, NN scrolling is definitely slower than a regular python file, but could just be the extra stuff to render. If I can get my old notebooks working I'll try and give a side by side comparison.


@oscarrutt commented on Wed Feb 24 2021

@DavidKutu It does not happen with a regular Python file. As far as I can tell it does not happen with any text file in either vsc or vsc-i.

But to be clear, as far as I can tell, no text file in either vsc or vsc-i scrolls as well as in a native Mac app. One does not have to look far: TextEdit, XCode, or even the Quick Look window in Finder. It's just that the problem as reported here is past the point of acceptability IMO.

I can (now!) open Julia native notebooks in vsc. (I thought that wasn't possible a week ago. Am I confused? The display is different, with different backgrounds and widgets but no syntax coloring in vsc.) In any case, my Julia native notebooks seem to scroll as well in vsc as text scrolls in vsc. Hope this isn't too confusing.

Metadata

Metadata

Assignees

Labels

debtCode quality issuesfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesnotebook-perf

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions