microsoft / vscode

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

Selecting text in find/replace dialog with mouse triggers sticky scroll action #191381

Closed vanowm closed 10 months ago

vanowm commented 1 year ago

Type: Bug

During mouse text selection in find/replace dialog if cursor moved beyond the popup area over to sticky scroll area it triggers sticky scroll action after mouse button was released.

Steps to Reproduce:

  1. scroll editor so it has something shown in sticky scroll
  2. open find/replace dialog, click and hold in the search field and drag mouse over a sticky scroll area, release mouse button
  3. the editor jumps to the line of sticky scroll

vscode-mouse-select

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|63.67GB (32.87GB free)| |Process Argv|--verbose| |Screen Reader|no| |VM|50%|
Extensions (93) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 vscode-javascript-repl|ach|0.7.4 vscode-userscript|adp|1.3.2 Bookmarks|ale|13.4.1 tsl-problem-matcher|amo|0.6.2 vscode-scriptmonkey|and|0.0.8 autolispext|Aut|1.6.2 vscode-log-viewer|ber|0.14.0 vscode-intelephense-client|bme|1.9.5 git-exclude|bou|0.3.1 phpserver|bra|3.0.2 insert-unicode|bru|0.14.0 turbo-console-log|Cha|2.9.6 doxdocgen|csc|1.4.0 autoit|Dam|1.0.11 copy-directory-path|dan|1.0.3 vscode-eslint|dba|2.4.2 xml|Dot|2.5.1 gitlens|eam|14.2.1 EditorConfig|Edi|0.16.4 vscode-great-icons|emm|2.1.97 prettier-vscode|esb|10.1.0 vscode-macros|EXC|1.4.1 vscode-highlight|fab|1.8.0 vscode-firefox-debug|fir|2.9.8 auto-rename-tag|for|0.1.10 codespaces|Git|1.14.16 copilot|Git|1.105.360 copilot-chat|Git|0.6.0 copilot-labs|Git|0.14.884 remotehub|Git|0.60.0 vscode-pull-request-github|Git|0.70.0 reg|ion|1.1.0 better-cpp-syntax|jef|1.17.2 vscode-peacock|joh|4.2.2 minifyall|jos|2.10.0 node-module-intellisense|lei|1.5.0 Lisp|mat|0.1.12 render-crlf|med|1.7.1 vscode-language-babel|mgm|0.0.39 git-graph|mhu|1.30.0 vscode-filesize|mkx|3.1.0 vscode-apache|mrm|1.2.0 vscode-docker|ms-|1.26.0 vscode-edge-devtools|ms-|2.1.3 isort|ms-|2023.10.1 python|ms-|2023.14.0 vscode-pylance|ms-|2023.8.40 remote-containers|ms-|0.304.0 remote-ssh|ms-|0.102.0 remote-ssh-edit|ms-|0.86.0 vscode-remote-extensionpack|ms-|0.24.0 azure-repos|ms-|0.36.0 cmake-tools|ms-|1.15.31 cpptools|ms-|1.17.4 cpptools-extension-pack|ms-|1.3.0 hexeditor|ms-|1.9.12 js-debug-nightly|ms-|2023.8.2317 live-server|ms-|0.4.9 remote-explorer|ms-|0.4.1 remote-repositories|ms-|0.38.1 remote-server|ms-|1.4.3 test-adapter-converter|ms-|0.1.8 debugger-for-edge|msj|1.0.15 color-highlight|nau|2.5.0 vscode-auto-scroll|pej|1.1.0 vscode-versionlens|pfl|1.5.2 parse-tree|pok|0.26.7 vscode-phpunit|rec|3.2.0 tmlanguage-syntax-highlighter|Red|2.2.1 vscode-xml|red|0.26.1 format-html-in-php|rif|1.7.0 rust-analyzer|rus|0.3.1631 vs-code-prettier-eslint|rve|5.1.0 multi-command|ryu|1.6.0 vbsvscode|Ser|1.2.1 swapdiff|sha|0.2.1 vsc-quokka-statusbar|ske|1.3.6 comment-divider|sta|0.4.0 code-spell-checker|str|2.20.5 vscode-stylelint|sty|1.2.4 tabnine-vscode|Tab|3.8.3 tauri-vscode|tau|0.2.6 vscode-ltex|val|13.1.0 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-wakatime|Wak|24.2.2 vscode-backup|Wes|0.0.6 eno|Wsc|2.3.53 php-debug|xde|1.33.0 local-history|xyz|1.8.1 json-color-token|yec|1.3.3 html-css-class-completion|Zig|1.20.0 (1 theme extensions excluded)
vanowm commented 10 months ago

I'm no longer able reproduce this issue in v1.84.0 Thank you!