You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Never reopen a window. Always start with an empty one.
This is incorrect.
I had a hot session with unsaved changes in the past. It required other people, so I haven't gone back to that project in a long time.
After the latest update to 1.43.0, that session now launches whenever I run VS Code.
The window.restoreWindows setting is none, but instead of restoring none windows, it's restoring this old session.
But, because some of the files are still being edited (which I can't complete without other people (who are busy)), I don't want to work on this old project now. I'd like it to have the previous (seemingly intended) behavior of NOT opening any projects.
Hot Exit
Now, if "files.hotExit": "onExitAndWindowClose" instead of the default onExit, it goes back to the previous behavior. If I launch VS Code, even though a hot session exists, it doesn't restore it on launch.
So it seems that the capability to restore NONE windows sure exists. So why isn't restoreWindows=none always respected?
tl;dr restoreWindows=none is only respected if a different setting is changed from default.
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18362
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-4600M CPU ! 2.90GHz (4 x 2893)
Issue Type: Bug
Restore Windows
This is incorrect.
I had a hot session with unsaved changes in the past. It required other people, so I haven't gone back to that project in a long time.
After the latest update to 1.43.0, that session now launches whenever I run VS Code.
The
window.restoreWindows
setting isnone
, but instead of restoring none windows, it's restoring this old session.But, because some of the files are still being edited (which I can't complete without other people (who are busy)), I don't want to work on this old project now. I'd like it to have the previous (seemingly intended) behavior of NOT opening any projects.
Hot Exit
Now, if
"files.hotExit": "onExitAndWindowClose"
instead of the defaultonExit
, it goes back to the previous behavior. If I launch VS Code, even though a hot session exists, it doesn't restore it on launch.So it seems that the capability to restore NONE windows sure exists. So why isn't restoreWindows=none always respected?
tl;dr
restoreWindows=none
is only respected if a different setting is changed from default.VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18362
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: