microsoft / microsoft/vscode

The windows from the previous session are not being restored correctly

Open
#333,453 0 comments 0 reactions 1 assignee Claimed by @benibenj View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

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

- VS Code Version: 1.135.0
- OS Version: Ubuntu 24.04/26.04

Steps to Reproduce:

1. Open a folder or workspace in a multi-window setup.
2. Close VS Code.
3. Now reopen VS Code.
4. Only the editors from the main window are displayed, and no other windows are opened, even though the files are separated into different windows in the Explorer sidebar.

⚠️ To restore the previous state, you have to close VS Code and reopen it again so that the windows are restored correctly.

Current related settings:
`{"window.restoreWindows": "all"}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.