Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"window.restoreWindows": "none" incorrect #3484

Open
vscodebot bot opened this issue Mar 12, 2020 · 0 comments
Open

"window.restoreWindows": "none" incorrect #3484

vscodebot bot opened this issue Mar 12, 2020 · 0 comments

Comments

@vscodebot
Copy link

vscodebot bot commented Mar 12, 2020

Issue Type: Bug

Restore Windows

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)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 15.89GB (3.69GB free)
Process Argv
Screen Reader no
VM 0%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants