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

restoreWindows setting ignored by VSCode #117897

Closed
fonnesbeck opened this issue Mar 1, 2021 · 2 comments
Closed

restoreWindows setting ignored by VSCode #117897

fonnesbeck opened this issue Mar 1, 2021 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) workbench-state UI state across restarts

Comments

@fonnesbeck
Copy link

fonnesbeck commented Mar 1, 2021

Issue Type: Bug

  1. Set "window.restoreWindows": "none" in settings
  2. Open folder, and open several files in that folder (unmodified)
  3. Quit VSCode
  4. Reopen VSCode and open the same folder.

The behavior I am seeing is that all of the files that were open in the previous session are reopened. The restoreWindows setting should have resulted in no files open when I opened the folder in a new session.

If this is the intended behavior, then it is confusing (none should mean none). In any case, there needs to a setting option to allow for this. I have no interest in seeing the all the files from the previous session cluttering up the editor.

VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:45:54.515Z)
OS version: Darwin x64 20.3.0

System Info
Item Value
CPUs Apple M1 (8 x 2400)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 4, 3
Memory (System) 16.00GB (0.08GB free)
Process Argv . --crash-reporter-id 7dfc0449-544b-4fa5-917f-21b04190e4ed
Screen Reader no
VM 0%
Extensions (20)
Extension Author (truncated) Version
open-in-marked fmo 1.0.8
codespaces Git 0.7.2
vscode-pull-request-github Git 0.23.1
language-julia-insider jul 1.1.31
rainbow-csv mec 1.8.1
mssql ms- 1.10.1
gather ms- 2021.1.0
python ms- 2021.2.582707922
vscode-pylance ms- 2021.2.4
jupyter ms- 2021.2.603412351
remote-containers ms- 0.158.0
remote-ssh ms- 0.64.0
remote-ssh-edit ms- 0.64.0
remote-wsl ms- 0.53.4
vscode-remote-extensionpack ms- 0.20.0
cpptools ms- 1.2.2
material-icon-theme PKi 4.5.0
character-count ste 0.1.1
html-preview-vscode tht 0.2.5
rmarkdown Tia 0.0.14

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythontb:30260843

@bpasero bpasero added the workbench-state UI state across restarts label Mar 1, 2021
@bpasero
Copy link
Member

bpasero commented Mar 1, 2021

/duplicate #22613

@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) workbench-state UI state across restarts
Projects
None yet
Development

No branches or pull requests

3 participants
@fonnesbeck @bpasero and others