microsoft / vscode

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

Sticky Scroll should not keep stick when delete all texts #166929

Closed yushen7 closed 2 years ago

yushen7 commented 2 years ago

Type: Bug

  1. Enable the sticky scroll feature
  2. Open *.js file, and code a function
  3. Scroll to bottom, and the function sticky
  4. Press 'cmd + A' shortcuts, and press 'delete' button, delete all texts
  5. Finally, the function still sticky. And there is no way to remove sticky function unless undo the deletion. image

VS Code version: Code 1.73.1 (Universal) (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:08:38.961Z) OS version: Darwin arm64 20.3.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|3, 3, 2| |Memory (System)|16.00GB (0.56GB free)| |Process Argv|--crash-reporter-id 129665ef-2615-446f-a66d-6c79a5fef252| |Screen Reader|yes| |VM|0%|
Extensions (6) Extension|Author (truncated)|Version ---|---|--- gitlens|eam|13.1.1 prettier-vscode|esb|9.9.0 minapp-vscode|qiu|2.4.8 volar|Vue|1.0.9 vscode-typescript-vue-plugin|Vue|1.0.9 fig|wit|0.0.7 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscorecescf:30445987 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vscaac:30438847 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 vscccc:30610679 pyindex848:30577860 nodejswelcome1cf:30587006 fc301958:30595537 282f8724:30602487 gswce1:30612156 3d0df643:30613357 dbltrim-noruby:30604474 f6dab269:30613381 ```
gjsjohnmurray commented 2 years ago

/duplicate and already fixed in Insiders.

vscodenpa commented 2 years ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!