microsoft / vscode

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

View containers with lazy contents don't get restored as active #190349

Open carlz32 opened 1 year ago

carlz32 commented 1 year ago

Type: Bug

When I move OUTLINE and TIMELINE together to the Secondary Side Bar, then each time I open vscode, the Search panel shows up by defaut in the Activity Bar instead of the Explorer panel.

Reset the layout or don't move both of them solves the problem.

Thank you.

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz (12 x 2904)| |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)|15.87GB (5.56GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.90.1-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz (12 x 2904)| |Memory (System)|7.69GB (6.77GB free)| |VM|0%|
Extensions (17) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 jupyter-keymap|ms-|1.1.2 remote-wsl|ms-|0.81.0 material-icon-theme|PKi|4.29.0 errorlens|use|3.13.0 vim|vsc|1.25.2 vscode-eslint|dba|2.4.2 gitlens|eam|14.2.1 EditorConfig|Edi|0.16.4 code-runner|for|0.12.0 copilot|Git|1.101.317 copilot-chat|Git|0.6.0 codesnap-plus|hui|1.4.1 live-server|ms-|0.4.9 vscode-fileutils|sle|3.10.3 code-spell-checker|str|2.20.5 markdown-all-in-one|yzh|3.5.1
carlz32 commented 1 year ago

vscode-activitybar-layout

The screenshot here.

sbatten commented 1 year ago

@zljmms32 does this repro even if not using WSL?

carlz32 commented 1 year ago

Sorry for the delay. After several tries, I found this problem only reproduces when using WSL,