microsoft / vscode

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

Can't create new profile copying from a template #224566

Closed ansaganie closed 1 month ago

ansaganie commented 1 month ago

Type: Bug

Create new Profile -> Copy form -> Choose any template after this it is not posssible to configuration from default profile and any further actions are not possible image

VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|15.77GB (8.14GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (9) Extension|Author (truncated)|Version ---|---|--- npm-intellisense|chr|1.4.5 vscode-eslint|dba|3.0.10 gitlens|eam|15.2.3 prettier-vscode|esb|10.4.0 copilot|Git|1.219.0 copilot-chat|Git|0.18.1 material-icon-theme|PKi|5.8.0 win-ca|uko|3.5.1 volar|Vue|2.0.28
gjsjohnmurray commented 1 month ago

If you don't check at least one of the checkboxes, what is your profile going to store?

mod3x commented 1 month ago

If you don't check at least one of the checkboxes, what is your profile going to store?

Hello, I've encountered the same problem. It is not possible to check a single checkbox when a profile to copy from is selected. Even after switching from some profile to copy and then back to none, the checkboxes remain unselectable. Thank you.

ansaganie commented 1 month ago

If you don't check at least one of the checkboxes, what is your profile going to store?

sorry, forgot to mention it, yaa it is not possible to chosoe any of configuration in box below

it is still possible create from scratch, but not as a copy from an existing profile

ansaganie commented 1 month ago
RiseT commented 1 month ago

Problem occurs on Linux (Mint) as well (and of course on my Windows machine). This used to work with the previous VS Code version.

aol-nnov commented 1 month ago

Just stumbled upon this bug on MacOS!

Version: 1.92.0
Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
Date: 2024-07-31T23:26:45.634Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.3.0

The Cog -> Profile -> New Profile

image

If you click on any of the checkboxes, all of them are unchecked instantly and form validation notice appears:

image

After that, checkboxes are no longer clickable.

andy1li commented 1 month ago

I encountered the same issue. When copying profiles, nothing cannot be checked.

Workaround:

Export your intend-to-copy profile, and then re-import and rename it. Done.

Dromantor commented 1 month ago

The title really should be "Can't create a new profile at all." Creating from scratch doesn't work either. Just the export-import workaround works.

profileerr

gjsjohnmurray commented 1 month ago

Pinging @sandy081

aol-nnov commented 1 month ago

Just a friendly ping, that recent update

Version: 1.92.1
Commit: eaa41d57266683296de7d118f574d0c2652e1fc4
Date: 2024-08-07T20:16:39.455Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.3.0

... does not fix this annoying issue... :(

gjsjohnmurray commented 1 month ago

You can avoid the issue by setting "workbench.experimental.enableNewProfilesUI": true

@sandy081 with that setting false this issue reproduces in the latest Insiders too.

aol-nnov commented 1 month ago

Thank you for the hint, @gjsjohnmurray !

ansaganie commented 1 month ago

You can avoid the issue by setting "workbench.experimental.enableNewProfilesUI": true

@sandy081 with that setting false this issue reproduces in the latest Insiders too.

works for me, too. Thank you!

mwheatfill commented 1 month ago

@gjsjohnmurray thanks for the tip. I like the new Profiles UI as well.

kenis1108 commented 1 month ago

You can avoid the issue by setting "workbench.experimental.enableNewProfilesUI": true

@sandy081 with that setting false this issue reproduces in the latest Insiders too.

I set workbench.settings.applyToAllProfiles, but when I added a new profile, why didn't workbench.settings.applyToAllProfiles take effect?

sandy081 commented 1 month ago

/duplicate

https://github.com/microsoft/vscode/issues/224788

Please use the New Profiles UI as the workaround.

vs-code-engineering[bot] commented 1 month 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!