Files
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6wandTaylor Ho 2943d52abd fix(desktop): launch at sane default size, restore geometry, focus on show
The main window launched maximized on every start: tauri.conf.json set
maximized: true and the window-state plugin was configured to skip
restoring size/position/maximized, so user resizes never survived a
relaunch and large displays always got an edge-to-edge window.

- Default to a centered 1280x800 window instead of maximized.
- Restore saved size/position/maximized across launches (only VISIBLE
  and FULLSCREEN stay excluded: visibility is app-managed via the
  hidden-until-React-mounts flow, and relaunching into fullscreen is
  jarring).
- Chain setFocus() after show() on mount so the window no longer
  reveals itself underneath other windows on launch.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-07-02 23:52:39 -07:00
..
2026-07-01 10:58:43 -07:00