You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the extreme lag on that relatively small HTML file. Now, here is the interesting bit. If I scroll with inertia (push the trackpad then release my fingers so the scroll coasts and glides to a stop), it's perfectly smooth. Shown here:
vscode-smooth-scrolling-with-inertia.mov
So, the issue only occurs when I scroll while holding my fingers on the trackpad, i.e. preventing inertia scroll.
Performance Profile Recording
Here is a profile I recorded while producing the scroll lag:
Type: Bug
Expected results: smooth scrolling.
Note: Opening a file with word wrapping makes the issue far worse.
VS Code version: Code 1.81.1 (6c3e3db, 2023-08-09T22:40:25.698Z)
OS version: Darwin arm64 22.6.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (7)
Screencast
vscode-scrolling-lag-bug-720.mov
Notice the extreme lag on that relatively small HTML file. Now, here is the interesting bit. If I scroll with inertia (push the trackpad then release my fingers so the scroll coasts and glides to a stop), it's perfectly smooth. Shown here:
vscode-smooth-scrolling-with-inertia.mov
So, the issue only occurs when I scroll while holding my fingers on the trackpad, i.e. preventing inertia scroll.
Performance Profile Recording
Here is a profile I recorded while producing the scroll lag:
Profile-20230901T151227.json
It seems like the debugger thinks that VSCode is "idle" during the lag stalls.