Skip to content

Left-clicking the tray icon opens the context menu instead of restoring the window on Linux #2104

Description

@krystian-97

Describe the bug

Left-clicking Sable’s system-tray icon behaves exactly like right-clicking it: both buttons open the context menu. This differs from the usual Linux tray behavior, where left click restores or focuses the application window, and right click opens the context menu.

Consequently, restoring Sable from the tray requires opening the menu and selecting the appropriate menu item instead of simply clicking the icon once.

Reproduction

  1. Start the Sable desktop application.
  2. Hide or close the main window so that Sable remains in the system tray.
  3. Left-click the Sable tray icon.

Expected behavior

Left-clicking the tray icon should restore and focus the main Sable window. Right-clicking should open the context menu.

Platform and versions

Ubuntu 26.04 LTS x86_64
Sable v1.21.1-nightly.260913202156.8c68041f74bd-dev (8c68041)

Additional context

The underlying Linux limitation in Tauri is tracked here and has been recently fixed: tauri-apps/tray-icon#104.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions