microsoft / vscode

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

Explorer -> Open Editors scroll issues #150767

Open marin-takanov opened 2 years ago

marin-takanov commented 2 years ago

Issue Type: Bug

Hello,

I found two scroll issues in the Open Editors view. The first one is that if all other views are collapsed and only Open Editors is expanded, there is unnecessary vertical scroll. Screenshot attached. The second one is when there is a file with long name in Open Editors and a horizontal scroll appears if the section is with less width than the name of the file. The scroll overlaps with the last file in Open Editors and make it almost impossible to select if you're at the bottom. Screenshot attached.

VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:57.384Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)| |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
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|2, 3, 3| |Memory (System)|16.00GB (0.35GB free)| |Process Argv|. --crash-reporter-id ddf221d7-6a43-437e-a4da-c09b4559cc3e| |Screen Reader|no| |VM|0%|
Extensions (13) Extension|Author (truncated)|Version ---|---|--- vscode-apollo|apo|1.19.11 vscode-eslint|dba|2.2.2 gitlens|eam|12.0.7 prettier-vscode|esb|9.5.0 go-to-spec|Lou|0.1.3 ruby-rubocop|mis|0.8.6 prettify-json|moh|0.0.3 rails-run-spec-vscode|nok|0.1.4 ruby|reb|0.28.1 slim|sia|0.1.2 code-spell-checker|str|2.2.0 vscode-stylelint|sty|1.2.2 vscode-ruby|win|0.28.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonvspyt551:30345470 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805cf:30301675 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebug:30492333 vsclangdf:30486550 ```
Issue 1 ![Screenshot 2022-05-31 at 9 40 22](https://user-images.githubusercontent.com/61980712/171109984-43aee2cc-fdff-4897-8915-cc7ac1b62139.png)
Issue 2 ![Screenshot 2022-05-31 at 9 41 46](https://user-images.githubusercontent.com/61980712/171110065-1bd1dd88-d282-4033-a89b-c2965c8dac23.png)
lramos15 commented 2 years ago

Can you not just drag the panel larger in these cases?

marin-takanov commented 2 years ago

Can you not just drag the panel larger in these cases?

For issue 1, the panel could NOT be resized in height. For issue 2, the panel could be resized in width and I can set my panel to 30% of my screen, sure. But I don't want that. This is a UI problem and I don't want just to resize the panel so the problem disappear. There could be files in a lot of nested folders and resizing in width will just make my main 'coding' panel smaller. This is the least I want.