Sometimes windows don't get persisted on a Windows Update #21627

Open
opened 2026-01-31 07:50:07 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (May 2, 2024).

v1.21

I've now had a couple days where I've gotten a Windows Update, and came back to the Terminal not quite in the right state as before:

  • A few times, I've had the buffer restored, but to a previous day's state. As if the buffer didn't get persisted on shutdown, but on launch I did get the buffer from the previous shutdown.
  • Today, I only had one of my two windows persisted across the reboot. The window that was persisted did have all it's buffers restored, but the other window was gone entirely.

I have a theory that this is somehow related to us not handling WM_ENDSESSION post-PMv3 quite right, but that's a guess, not a root cause.

Originally created by @zadjii-msft on GitHub (May 2, 2024). v1.21 I've now had a couple days where I've gotten a Windows Update, and came back to the Terminal not _quite_ in the right state as before: * A few times, I've had the buffer restored, but to a _previous_ day's state. As if the buffer didn't get persisted on shutdown, but on launch I did get the buffer from the _previous_ shutdown. * Today, I only had one of my two windows persisted across the reboot. The window that was persisted did have all it's buffers restored, but the other window was gone entirely. I have a theory that this is somehow related to us not handling `WM_ENDSESSION` post-PMv3 quite right, but that's a guess, not a root cause.
claunia added the Issue-BugIn-PRNeeds-Tag-FixProduct-TerminalArea-Windowing labels 2026-01-31 07:50:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21627