[bug][v2][window-state] window state not saved when closing through menu on macOS
When I close the app from File -> Close Window or Window -> Close Window or from traffic lights it does save size + position.
But when closing from PredefinedMenuItem::quit it doesn't save the window state before closing.
Happens only in window created with tauri::WindowBuilder (behind unstable feature)
but doesn't happen in window created from tauri::WebviewWindowBuilder
/upstream tauri-apps/tauri
Do you think you can provide a minimal reproduction for us? Or at least show us the logic of the quit menu item.
Do you think you can provide a minimal reproduction for us? Or at least show us the logic of the
quitmenu item.
It happened when I simply created the main window with tauri::WindowBuilder, enabled the window-state plugin, and closed the window through the menu App Name -> Quit or Window -> Close.
okay thanks