Skip to content

Implement minimize-to-tray (README already advertises it) #49

Closed

Description

@TMHSDigital

Summary

The app creates a tray icon (Show / Start / Stop / Exit), but nothing ever hides the window to the tray: minimizing goes to the taskbar, and closing quits after a confirmation. The README nevertheless advertises "Minimize to tray … for background operation" (README.md:60).

Evidence

  • autoclicker/gui/main_window.py:408-410 — on_closing asks to quit and quits.
  • No <Unmap> handling or withdraw() anywhere except the coordinate picker.
  • autoclicker/app/tray.py — the "Show" menu item only matters if the window can be hidden.
  • The tray menu has no default action, so double-clicking the icon does nothing.

Suggested approach

  • Add a setting "Close/minimize to tray" (default: minimize-to-tray on, close quits).
  • On minimize, withdraw() and optionally show a one-time balloon "Still running in the tray — F7 to stop".
  • Make "Show" the tray's default item (default=True) so double-click restores the window.
  • Show running state in the tray tooltip ("Running — 1,234 clicks").

Done when

Activity

  1. added
    enhancement
    priority: low
    ux
    on Oct 4, 2026
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

    enhancementpriority: lowux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions