entering "Trusted" mode for a folder disables the "File->Save" option until a new file is opened
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Type: Bug
* Open new empty folder (untrusted), or revoke trust.
* Create a file, edit the file, save the file
* Note File menu Save option is usable
* Update trust to trust this folder
* Bug: File menu Save option is greyed out
* Modify file
* Bug: File -> Save, or shortcut Alt+F, S doesn't work, still greyed out and does nothing! Save all does work.
* Closing the file and reopening it, Save option is no longer greyed out and works again.
I didn't see an existing bug for this behavior but it's not very searchable so I may have missed something.
VS Code version: Code 1.137.0 (645f29cc3176500b4b5762ba887cf2a7f0ffdf2c, 2026-09-08T13:43:59-07:00)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 5800U with Radeon Graphics (16 x 1896)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1638 [AMD Radeon(TM) Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=31.0.12027.9001 *ACTIVE*
GPU1: VENDOR= 0x1002, DEVICE=0x1638 [AMD Radeon(TM) Graphics], DRIVER_VERSION=31.0.12027.9001
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|15.42GB (2.88GB free)|
|Process Argv|--crash-reporter-id 297825a0-7122-4566-be43-69370194c529|
|Screen Reader|no|
|VM|0%|
Extensions (6)
Name|Identifier|Author|Version
---|---|---|---
C# Dev Kit|ms-dotnettools.csdevkit|ms-dotnettools|3.20.207
C#|ms-dotnettools.csharp|ms-dotnettools|2.140.9
.NET Install Tool|ms-dotnettools.vscode-dotnet-runtime|ms-dotnettools|3.1.0
C/C++|ms-vscode.cpptools|ms-vscode|1.34.4
PlatformIO IDE|platformio.platformio-ide|platformio|3.3.4
Svelte for VS Code|svelte.svelte-vscode|svelte|110.3.1
A/B Experiments
```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
ei9d7968:31496641
chat:31457767
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
748c7209:31512887
32d76977:31512328
ha629193:31508444
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
gf14b233:31526830
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
c7c27ce7:31554789
1h923230:31564177
0dg73464:31554319
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
0c1h4866:31566224
vrbsty_tr:31561058
session-mark-done:31558131
5b8j3302:31564601
mangle-name-control:31572633
intellij_nes_preview_t:31580086
39a5d156:31574986
2bfb8b39:31576696
accent:31581110
links-treatment:31581630
aw-autom-off:31581692
revealsession_treatment_7ed7e840:31582194
```
Contributor guide
Assessment
This issue has not been assessed yet.