mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
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>