Skip to content

feat: remember app window size and position on restart - #584

Open
fuleinist wants to merge 3 commits into
TabularisDB:mainfrom
fuleinist:feat/remember-window-size-position
Open

feat: remember app window size and position on restart#584
fuleinist wants to merge 3 commits into
TabularisDB:mainfrom
fuleinist:feat/remember-window-size-position

Conversation

@fuleinist

Copy link
Copy Markdown
Contributor

Summary

  • Add window state persistence (width, height, x, y, maximized) to the config
  • Restore window position and size on app startup
  • Save window state on window close

Test Plan

  • Resize and move the window, close and reopen the app - window should restore to the same position and size
  • Maximize the window, close and reopen - window should start maximized
  • Unmaximize from a maximized state - window should restore to previous size
  • First launch with no saved state - should use default window size

Closes #534

Add window state persistence (width, height, x, y, maximized) to the
config so the app restores its last-known size and position on next
launch. The window position and size are captured on CloseRequested and
written through save_config.

Closes TabularisDB#534
Comment thread src-tauri/src/lib.rs Outdated
Comment thread src-tauri/src/config.rs Outdated
@kilo-code-bot

kilo-code-bot Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src-tauri/src/config.rs
  • src-tauri/src/lib.rs

fuleinist and others added 2 commits August 2, 2026 10:10
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
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.

[Feat]: Remember of app window's size and position

1 participant