microsoft / vscode

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

Disabling smooth scrolling doesn't work #234349

Open hamilyon opened 1 day ago

hamilyon commented 1 day ago

Does this issue occur when all extensions are disabled?: Yes

OS: opensuse tumbleweed package: from zypper code-1.95.3-1731513157.el8.x86_64

Steps to Reproduce:

  1. code --disable-extensions --disable-smooth-scrolling

  2. configuration:

    {
    "workbench.colorTheme": "Solarized Dark",
    "editor.unicodeHighlight.nonBasicASCII": false,
    "[python]": {
        "editor.formatOnType": true
    },
    "search.useGlobalIgnoreFiles": true,
    "search.useIgnoreFiles": true,
    "search.exclude": {
        "**": true
    },
    "python.defaultInterpreterPath": "/home/ashaposhnikov/local.venv",
    "[sql]": {
        "editor.defaultFormatter": "adpyke.vscode-sql-formatter"
    },
    "files.watcherExclude": {
        "**/.git/objects/**": true,
        "**/.git/subtree-cache/**": true,
        "**/node_modules/*/**": true
    },
    "editor.smoothScrolling": false,
    "window.zoomLevel": -1
    }
  3. scroll in text editor using mouse wheel

Some time ago disabling smooth scrolling worked as expected, scrolling was instant.

Now scrolling animation exists (which is smooth scrolling in my understanding) no matter the position of setting.

I tried setting window.zoomLevel -1, 0, 1 and 2 without success.