Skip to content

Bug Report #308306

@AmerHashima

Description

@AmerHashima

[

20-59-44.mp4

](url)

Bug Report

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

  • VS Code Version: 1.114.0 (Windows User Setup x64)
  • OS Version: Windows 11

Description

VS Code keeps reopening previously opened tabs automatically after closing them, and I cannot stop this behavior.

Even after:

  • Uninstalling VS Code
  • Reinstalling the latest version (1.114.0)

The issue still persists.


Steps to Reproduce

  1. Open VS Code
  2. Open multiple files (tabs)
  3. Close all tabs manually
  4. Close VS Code
  5. Reopen VS Code

Expected Behavior

All previously closed tabs should remain closed, and VS Code should open without restoring old tabs.


Actual Behavior

All previously opened tabs are restored automatically after reopening VS Code, even though they were closed before exiting.


Additional Notes

  • The issue persists after reinstalling the latest version
  • Happens every time VS Code is opened
  • Occurs even when extensions are disabled
  • Possibly related to workspace/session restore settings

Possible Related Settings

  • window.restoreWindows
  • workbench.editor.restoreViewState
  • Session/workspace restore behavior

If you want, I can also give you the exact fix (1–2 steps) so you don’t even need to wait for a response on GitHub 👍

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions