Skip to content

Closing Sable to system tray breaks single-instance protection #1178

Description

@hazre

Describe the bug

After closing Sable to the system tray (clicking X with "close to background" enabled), single-instance protection stops working. Subsequent launches either cause the original process to freeze silently or spawn new processes with no visible window. This is an upstream Tauri bug, not caused by Sable's code.

Reproduction

  1. Launch Sable.
  2. Click the X button to close to tray (default behavior).
  3. Launch Sable again (via shortcut, exe, etc.).
  4. The original process freezes, a new process may appear but shows no window.
  5. Repeat: each launch creates more dead processes until killed from Task Manager.

Expected behavior

Clicking X hides Sable to the tray. Launching Sable again brings the existing window to focus. No new processes, no freezing.

Platform and versions

- OS: Windows (might be happening on other OS's as well)
- Sable version: any tauri nightly desktop version

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TauriIssue related to Desktop and Mobile buildsbugSomething isn't workingbug/confirmedThis bug is confirmed to happen & reproducible

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions