microsoft / vscode

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

"Enable (Workspace)" extension under WSL but it is disabled as enabled in WSL globally #183544

Closed vvavrychuk closed 9 months ago

vvavrychuk commented 1 year ago

Type: Bug

  1. Open folder under WSL.
  2. Go to extension and for some extension chose Enable > Enable (Workspace).

image

Problem: extension is displayed as enabled in WSL globally

image

It must be displayed as enabled in this workspace, see for example how it looks when not using WSL

image

VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z) OS version: Windows_NT x64 10.0.22000 Modes: Sandboxed: Yes Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+ Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+ Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+ Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+ Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+ Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+ Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+ Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2+

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |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)|31.78GB (4.05GB free)| |Process Argv|--crash-reporter-id 9ad8987c-9105-4cf7-ac62-ba0a50dc85aa| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.03GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.03GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.03GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.03GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.03GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.03GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.03GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.79.1-microsoft-standard-WSL2+| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |Memory (System)|15.51GB (9.02GB free)| |VM|0%|
Extensions (19) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.3.1 jupyter-keymap|ms-|1.1.0 remote-containers|ms-|0.292.0 remote-ssh|ms-|0.102.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.78.8 remote-explorer|ms-|0.4.0 vscode-gn|npc|1.1.0 ng-template|Ang|16.0.0 asciidoctor-vscode|asc|2.9.8 vscode-fish|bma|1.0.33 bitbake|Eug|1.1.2 cmake-tools|ms-|1.14.31 cpptools|ms-|1.15.4 cpptools-extension-pack|ms-|1.3.0 makefile-tools|ms-|0.7.0 vscode-xml|red|0.25.0 shader|sle|1.1.5 cmake|twx|0.0.17 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30610678 3biah626:30602489 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 pythonfmttext:30731395 pythoncmv:30739700 fixhidewlkth:30730051 hidesbindicator:30730055 pythongtdpath:30739704 ```
sandy081 commented 1 year ago

Seems like a UI bug