Skip to content

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

Open
@thewh1teagle

Description

@thewh1teagle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions