Skip to content

Persist window position and size across restarts#23

Merged
MBurchard merged 2 commits intomainfrom
feature/window-persistence
Mar 26, 2026
Merged

Persist window position and size across restarts#23
MBurchard merged 2 commits intomainfrom
feature/window-persistence

Conversation

@MBurchard
Copy link
Copy Markdown
Owner

Save the main window's geometry as logical pixels in settings.toml under [ui.window]. When maximized, the normal bounds are preserved for later restoration.

Save the main window's geometry as logical pixels in settings.toml under [ui.window].
When maximized, the normal bounds are preserved for later restoration.
Wait for SAVE_DEBOUNCE in window settings tests before
cleanup. Without the wait, SAVE_PENDING stays true from a
background save thread and subsequent tests that rely on
save() spawning a new thread fail silently, leading to
PoisonError cascades in CI.
@MBurchard MBurchard merged commit 87b8234 into main Mar 26, 2026
1 check passed
@MBurchard MBurchard deleted the feature/window-persistence branch March 26, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant