Microsoft/vscode

Restore all windows when closing them all at once

Aperta

#134.336 aperta il 2 ott 2021

 (14 commenti) (7 reazioni) (1 assegnatario)TypeScript (39.847 fork)batch import
feature-requesthelp wantedlinuxwindowsworkbench-window

Metriche repository

Star
 (184.936 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.60.2
  • OS Version: Ubuntu 21.04 / Gnome

Steps to Reproduce:

  1. Open two windows (optional : open folder/files, do some modifications and save them), then click on "Quit 2 Windows" to quit VS Code :

Screenshot

  1. Open VS Code again : only the last active window is reopened (no matter what value is set in window.restoreWindows)

However, if VS Code is closed by another mean (like pkill code), on the second launch all windows are correctly restored. What is causing this behaviour, and how to fix it ?

Guida contributor