tauri-apps / tauri-apps/plugins-workspace
[bug][v2][window-state] window state not saved when closing through menu on macOS
Open
plugin: window-state
status: upstream
type: bug
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
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`
Contributor guide
Assessment
This issue has not been assessed yet.