microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.4k stars 28.1k forks source link

Bad scrolling experience with Jupyter Notebook #211612

Open AmmarMujtaba opened 2 months ago

AmmarMujtaba commented 2 months ago

Type: Performance Issue

Let's say I am scrolling through a document on a laptop in Jupyter Notebook. When I am moving my fingers on the touchpad, the document is scrolling smoothly with my fingers, but as soon as i stop moving them, the document motion stops abruptly. It should stop with gradual decrease in speed when i stop scrolling, it gives a smoother feeling.

VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:34:12.840Z) OS version: Linux x64 6.2.0-39-generic Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 900)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 1, 1| |Memory (System)|7.53GB (3.54GB free)| |Process Argv|--unity-launch --crash-reporter-id b9dea7ee-015a-4a48-a18d-c4db5704b57a| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|wayland|
Process Info ``` CPU % Mem MB PID Process 0 224 3006 code main 0 39 3036 zygote 0 131 3082 gpu-process 0 39 3037 zygote 0 8 3040 zygote 0 501 3138 window [1] (Multiclass Classifier.ipynb - Personal - Visual Studio Code) 0 131 8834 window 0 93 11751 window [2] (Issue Reporter) 0 62 3091 utility-network-service 0 108 3212 shared-process 0 0 11764 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 85 3524 ptyHost 0 0 3902 /usr/bin/bash --init-file /usr/share/code/resources/app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 3992 /usr/bin/bash --init-file /usr/share/code/resources/app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 4094 /usr/bin/bash --init-file /usr/share/code/resources/app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 93 3859 fileWatcher [1] 0 216 3870 extensionHost [1] 0 440 4093 electron-nodejs (bundle.js ) 0 69 6575 /usr/share/code/code /usr/share/code/resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=3870 0 62 8736 electron-nodejs (T.js ) 0 185 8854 electron-nodejs (NW.js ) 0 62 9975 electron-nodejs (DWcU.js ) ```
Workspace Info ``` | Window (Multiclass Classifier.ipynb - Personal - Visual Studio Code) | Folder (Personal): 19755 files | File types: py(6396) pyc(6396) pyi(2117) so(284) txt(125) mat(109) | gz(97) pxd(71) h(60) afm(60) | Conf files: package.json(1); ```
Extensions (16) Extension|Author (truncated)|Version ---|---|--- vscode-tailwindcss|bra|0.10.5 es7-react-js-snippets|dsz|4.4.3 vscode-html-css|ecm|2.0.9 code-runner|for|0.12.2 debugpy|ms-|2024.4.0 python|ms-|2024.4.1 vscode-pylance|ms-|2024.4.1 jupyter|ms-|2024.3.1 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 cmake-tools|ms-|1.17.17 cpptools|ms-|1.19.9 cpptools-extension-pack|ms-|1.3.0 cmake|twx|0.0.17 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 fegfb526:30981948 bg6jg535:30979843 ccp2r3:30993541 dsvsc020:30976470 pythonait:31006305 jchc7451:30973076 gee8j676:31009558 chatpanelt:31018789 dsvsc021:30996838 724cj586:31013169 pythoncenvpt:31022790 ```
rebornix commented 1 month ago

If I understand correctly, this is asking for "Smooth Scrolling"

VSCodeTriageBot commented 1 month ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

amunger commented 1 month ago

I see smooth scrolling on Windows for notebooks, maybe a linux/mac issue? Do you have the desired scrolling behavior for a text file?

AmmarMujtaba commented 1 month ago

Yes, Text files have a very smooth scrolling experience. Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Aaron Munger @.> Sent: Wednesday, May 22, 2024 8:08:37 PM To: microsoft/vscode @.> Cc: AmmarMujtaba @.>; Author @.> Subject: Re: [microsoft/vscode] Bad scrolling experience with Jupyter Notebook (Issue #211612)

I see smooth scrolling on Windows for notebooks, maybe a linux/mac issue? Do you have the desired scrolling behavior for a text file?

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/211612#issuecomment-2125041898, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A756VJ7GPXQTYK7HTYJQJ2DZDSYHLAVCNFSM6AAAAABG5WWFDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGA2DCOBZHA. You are receiving this because you authored the thread.Message ID: @.***>