KamoCRM

A restored maximized window remembers where it came from

Fixkamo-internal
Shipped
26 ஆகஸ்ட், 2026 அன்று 8:15 AM UTC
Author
kamo
Commit
4c4528f

A snapshot written while a window was maximized used to lose what that window would return to, so a restored session's first conversation-switch dropped it in the dock even if it had been a hexhead. serializeWindows now carries preMaximize through (optional on PersistedToolWindow, since older snapshots don't have it and absence means "the dock"), and restoreWindows replays it as the two-step the store requires: minimize() first when the window should return to a hexhead, then setMaximized(id, true), which captures preMaximize from that just-set state.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing