microsoft / vscode

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

workbench.settings.applyToAllProfiles overwritten by inheriting profiles #190227

Closed marleypowell closed 1 year ago

marleypowell commented 1 year ago

Type: Bug

  1. Create a default profile with more than one setting added to workbench.settings.applyToAllProfiles
  2. Create a new profile which inherits settings from the default profile
  3. Find one of the settings that should apply to all profiles in the UI
  4. Notice that "Apply Setting to all Profiles" is unchecked
  5. Check "Apply Setting to all Profiles" for the setting that is already in workbench.settings.applyToAllProfiles
  6. Check settings.json and notice that all previous settings to apply to all profiles have been replaced with the single one selected from the UI

Before

image

image

After

image

Update: somehow temporarily fixed this by trying to modify the setting in the UI whilst having unsaved changes in the settings.json file. The issue came back after making more changes image

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

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz (16 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)|63.73GB (37.26GB free)| |Process Argv|--crash-reporter-id 27a70d5e-fcc7-4700-b32c-07a80d83ed8e| |Screen Reader|no| |VM|0%|
Extensions (40) Extension|Author (truncated)|Version ---|---|--- ng-template|Ang|16.1.8 vscode-eslint|dba|2.4.2 gitlens|eam|14.2.1 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.1.0 codespaces|Git|1.14.15 copilot|Git|1.101.317 copilot-chat|Git|0.6.0 Angular2|joh|16.0.1 dotenv|mik|1.0.1 file-downloader|min|1.0.12 mindaro|min|2.0.120230716 azure-pipelines|ms-|1.208.0 vscode-azurecache|ms-|0.1.0 vscode-azureresourcegroups|ms-|0.7.5 vscode-docker|ms-|1.26.0 vscode-aks-tools|ms-|1.3.13 vscode-kubernetes-tools|ms-|1.3.13 remote-containers|ms-|0.304.0 remote-ssh|ms-|0.102.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.0 vscode-remote-extensionpack|ms-|0.24.0 azure-account|ms-|0.11.5 remote-explorer|ms-|0.4.1 remote-server|ms-|1.4.0 vsliveshare|ms-|1.0.5877 material-icon-theme|PKi|4.29.0 vscode-thunder-client|ran|2.10.2 vscode-xml|red|0.26.1 vscode-yaml|red|1.14.0 code-spell-checker|str|2.20.5 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-conventional-commits|viv|1.25.0 console-ninja|Wal|0.0.198 quokka-vscode|Wal|1.0.555 wallaby-extension-pack|Wal|1.0.1 wallaby-vscode|Wal|1.0.365 markdown-all-in-one|yzh|3.5.1
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263cf:30335440 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263cf:30792227 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30803844 3biah626:30602489 f6dab269:30613381 a9j8j154:30646983 showlangstatbar:30737416 vsctsb:30748421 03d35959:30757346 pythonfmttext:30731395 pythoncmvfstrcf:30756944 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 gsofb:30804716 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 dsvsc013:30795093 dsvsc014:30804076 ```
sandy081 commented 1 year ago

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!