microsoft / microsoft/vscode

Linux: `editor.smoothScrolling` setting has no effect

Open
#333,759 1 comment 1 reaction 1 assignee Claimed by @aiday-mar View on GitHub
bug trackpad/scroll
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

# Reproduction Steps

### Issue Description

On Linux, after enabling the `editor.smoothScrolling` setting, scrolling a text editor with the mouse wheel still has **no smooth-scrolling effect** — the setting appears to have no effect at all, and scrolling remains a per-line jump.

### Steps to Reproduce

1. Open Visual Studio Code on Linux (any recent version).
2. Open Settings and confirm `editor.smoothScrolling` is enabled (`"editor.smoothScrolling": true`).
3. Open any file in the text editor.
4. Scroll up and down with the mouse wheel.
5. Observe whether the scrolling is smooth.

### Expected Behavior

- With `editor.smoothScrolling` enabled, mouse wheel scrolling should play a smooth scrolling animation instead of jumping line by line.

### Actual Behavior

- The `editor.smoothScrolling` setting **has no effect**: wheel scrolling is still a per-line jump, with no smooth animation.
- Compared with VS Code on Windows, scrolling on Linux is noticeably less smooth and less fluid.

### Comparison

- On Linux: `editor.smoothScrolling` disabled

https://github.com/user-attachments/assets/4c918229-389a-4a79-a7b5-bf09cf899f2e

- On Linux: `editor.smoothScrolling` enabled, but no effect — scrolling jumps line by line

https://github.com/user-attachments/assets/799ef180-b741-4650-ad5b-4769e548653b

https://github.com/user-attachments/assets/f8568258-4792-4658-a1b9-b77191846006

- On Windows: `editor.smoothScrolling` works, scrolling is smooth

https://github.com/user-attachments/assets/bd1361e8-d999-4b84-852c-32f605920736

https://github.com/user-attachments/assets/f5ebaa24-42ac-4e62-ba97-923a3264f0e5

### Additional Information

- Reproducible on both X11 and Wayland sessions.

### Workarounds Tried

- Confirmed in Settings that `editor.smoothScrolling` is enabled (it is `true` by default), but scrolling is still not smooth.

VS Code version: Code 1.135.0 (08d4889f9ec4a1685d257b9b95de036c8e1ce1e5, 2026-08-25T14:26:52Z)
OS version: Linux x64 7.1.12-200.fc44.x86_64
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 7735H with Radeon Graphics (16 x 4392)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x1002 [Google Inc. (AMD)], DEVICE=0x1681 [ANGLE (AMD, AMD Radeon 680M (radeonsi rembrandt ACO), OpenGL ES 3.2 Mesa 26.1.8)], DRIVER_VENDOR=Mesa, DRIVER_VERSION=26.1.8 *ACTIVE*
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgpu: enabled
webgpu_on_vk_via_gl_interop: disabled_off
webnn: disabled_off|
|Load (avg)|1, 1, 1|
|Memory (System)|27.08GB (19.13GB free)|
|Process Argv|/home/gocql/Projects/imported_repository/gnome-shell-extension-clipboard-indicator --crash-reporter-id 2f4ce1da-ea46-451e-bdc4-9235b6f0f37b|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|gnome|
|XDG_CURRENT_DESKTOP|GNOME|
|XDG_SESSION_DESKTOP|gnome|
|XDG_SESSION_TYPE|wayland|
Extensions (52)

Name|Identifier|Author|Version
---|---|---|---
Increment Selection|albymor.increment-selection|albymor|0.2.0
Markdown Preview Github Styling|bierner.markdown-preview-github-styles|bierner|2.2.0
Embedded IDE|cl.eide|cl|3.27.2
STM8 Debugger|cl.stm8-debug|cl|1.4.1
Doxygen Documentation Generator|cschlosser.doxdocgen|cschlosser|1.4.0
Arm Assembly|dan-c-underwood.arm|dan-c-underwood|1.7.4
HTML CSS Support|ecmel.vscode-html-css|ecmel|2.0.14
Prettier - Code formatter|esbenp.prettier-vscode|esbenp|12.4.0
Auto Rename Tag|formulahendry.auto-rename-tag|formulahendry|0.1.10
C/C++ Snippets|hars.cppsnippets|hars|0.0.15
Output Colorizer|ibm.output-colorizer|IBM|0.1.2
Bin Uploader|jacprosser.sourcebinuploader|jacprosser|1.8.0
Better C++ Syntax|jeff-hykin.better-cpp-syntax|jeff-hykin|1.27.1
Intel HEX format|keroc.hex-fmt|keroc|1.0.0
clangd|llvm-vs-code-extensions.vscode-clangd|llvm-vs-code-extensions|0.6.0
OAIProxy|lqdflying.oaiproxy|lqdflying|0.1.33
Cortex-Debug|marus25.cortex-debug|marus25|1.12.1
debug-tracker-vscode|mcu-debug.debug-tracker-vscode|mcu-debug|0.0.15
MemoryView|mcu-debug.memory-view|mcu-debug|0.0.29
Peripheral Viewer|mcu-debug.peripheral-viewer|mcu-debug|1.6.2
RTOS Views|mcu-debug.rtos-views|mcu-debug|0.0.16
Rainbow CSV|mechatroner.rainbow-csv|mechatroner|3.24.1
Git Graph|mhutchie.git-graph|mhutchie|1.30.0
File Downloader|mindaro-dev.file-downloader|mindaro-dev|1.0.13
Monokai Pro|monokai.theme-monokai-pro-vscode|monokai|2.0.14
Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code|ms-ceintl.vscode-language-pack-zh-hans|MS-CEINTL|1.131.2026082318
C#|ms-dotnettools.csharp|ms-dotnettools|2.140.9
.NET Install Tool|ms-dotnettools.vscode-dotnet-runtime|ms-dotnettools|3.1.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.3.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.128.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
CMake Tools|ms-vscode.cmake-tools|ms-vscode|1.23.52
C/C++ DevTools|ms-vscode.cpp-devtools|ms-vscode|0.6.18
C/C++|ms-vscode.cpptools|ms-vscode|1.33.8
C/C++ Extension Pack|ms-vscode.cpptools-extension-pack|ms-vscode|1.5.1
十六进制编辑器|ms-vscode.hexeditor|ms-vscode|1.11.1
Makefile Tools|ms-vscode.makefile-tools|ms-vscode|0.12.17
远程资源管理器|ms-vscode.remote-explorer|ms-vscode|0.5.0
Serial Monitor|ms-vscode.vscode-serial-monitor|ms-vscode|0.13.1
DeviceTree|plorefice.devicetree|plorefice|0.1.1
Debugger for probe-rs|probe-rs.probe-rs-debugger|probe-rs|0.32.0
Live Server|ritwickdey.liveserver|ritwickdey|5.7.10
rust-analyzer|rust-lang.rust-analyzer|rust-lang|0.3.3025
Cortex-Debug: Device Support Pack - Texas Instruments MSPM0|ti-development-tools.cortex-debug-dp-mspm0|ti-development-tools|1.0.2
Error Lens|usernamehw.errorlens|usernamehw|3.28.0
Motorola S-Record|xiaoyongdong.srecord|xiaoyongdong|0.1.0
CMake Highlight|zchrissirhcz.cmake-highlight|zchrissirhcz|0.0.2
LinkerScript|zixuanwang.linkerscript|ZixuanWang|1.0.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.