microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.25k stars 275 forks source link

scrolling is buggy #15747

Open arman258 opened 1 month ago

arman258 commented 1 month ago

Applies To

What happened?

Scrolling inside the notebook is acting weird from time to time. Sometimes, scrolling up freezes, sometimes scrolling down, and oftentimes, both directions. The issue goes away when you look at empty cells. Moving to another tab with a notebook or .py file, the issue doesn't persist.

Here's a video showing the behavior.

https://github.com/microsoft/vscode-jupyter/assets/8408861/a401e90e-ccf2-41ca-9bdc-06d09bc9a0bd

VS Code Version

1.89.1

Jupyter Extension Version

2024.4.0

Jupyter logs

No response

Coding Language and Runtime Version

Python 3.11.8

Language Extension Version (if applicable)

Pylance 2024.5.104

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

None

arman258 commented 1 month ago

I'm not sure if it's default or at some point I changed them: the followings are set:

"workbench.list.smoothScrolling": true, "terminal.integrated.smoothScrolling": true, "editor.smoothScrolling": true,

Also, when this issue happens, I cannot select the notebook output, double clicking on the results also doesn't work.

amunger commented 1 month ago

what renderer is being used for those outputs (select "change presentation" from the output menu as in the screenshot below)? Do you have some easy to repro code that generates an output that causes this? image

arman258 commented 1 month ago

The first one is active. I don't know exactly when this happens. Sometimes, when multiple large figures or interactive plots, like maps, are shown and I frequently scroll up and down, it freezes. I let you know if I can find an easy repo code.

image