tauri-apps / tauri-apps/plugins-workspace

[bug][v2][window-state] window state not saved when closing through menu on macOS

Open
#1,111 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.