Skip to content

"Open windows from a previous session" opens wrong tabs after crash #18838

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

Open
sparrowt opened this issue Apr 25, 2025 · 0 comments
Open

"Open windows from a previous session" opens wrong tabs after crash #18838

sparrowt opened this issue Apr 25, 2025 · 0 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@sparrowt
Copy link

sparrowt commented Apr 25, 2025

Windows Terminal version

1.22.10731.0

Windows build number

10.0.26100.0

Other Software

No response

Steps to reproduce

  1. Run Windows Terminal for several days, over which period many tabs have been opened, closed, renamed etc.
  2. Somehow Windows Terminal crashes (this in itself is obviously caused by a different bug, but inevitably this will sometimes happen)
  3. Re-launch Windows Terminal and find that it has restored the wrong tabs (the ones that were open last time it had a clean shutdown)

Expected Behavior

Windows Terminal should restore the tabs that were open at least vaguely recently before the crash (e.g. by persisting this state either on a regular interval, or each time a new tab is opened/renamed.

Actual Behavior

Instead it restores whatever tabs were open last time I explicitly closed it (i.e. the same set that it restored last time) which may well be multiple days ago and completely different from the tabs that I had been using before the crash.

Unfortunately this makes the restore feature pretty useless in the case of a crash 😢

@sparrowt sparrowt added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 25, 2025
@sparrowt sparrowt changed the title Wrong tabs opened after a crash via "Open windows from a previous session"to "Open windows from a previous session" opens wrong tabs after crash Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

1 participant