Skip to content

Switch profiles from the tray menu #178

Closed

Description

@TMHSDigital

Summary

The tray menu offers Show, Start, Stop, About and Exit. With minimize-to-tray on, changing profiles means restoring the window.

Where

  • autoclicker/app/tray.py:47-54
  • autoclicker/gui/features/profiles.py:69-75

Details

pystray supports dynamic submenus; the app already calls update_menu() when hotkey labels change.

Impact

Users who keep the app in the tray and switch between a few routines save several steps each time.

Suggested fix

Add a Profiles submenu whose items go through AutoclickerApp._ui to load_preset, disabled while running or counting down. Refresh it after save, import and delete.

Acceptance criteria

  • Profiles submenu lists saved profiles and loads them
  • Disabled while running

Getting started

  • Relevant files: autoclicker/app/tray.py, autoclicker/gui/features/profiles.py
  • How to run tests: make check (Git Bash) or tasks.bat lint, tasks.bat typecheck, tasks.bat test (cmd). Single test: python -m pytest tests/test_x.py::TestClass::test_name --no-cov
  • Related docs: CONTRIBUTING.md, docs/ARCHITECTURE.md

Filed by repo-audit/full-audit at 9968dc8. Severity: low. Effort: M. audit-key: enhancement|autoclicker/app/tray.py|tray profile menu

Activity

  1. added
    enhancement
    help wanted
    priority: low
    on Nov 6, 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

    enhancementhelp wantedpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions