Skip to content

feat: minimize launcher to system tray after startup - #142

Open
Pfannkuchensack wants to merge 1 commit into
invoke-ai:mainfrom
Pfannkuchensack:feature/minimize-to-tray
Open

feat: minimize launcher to system tray after startup#142
Pfannkuchensack wants to merge 1 commit into
invoke-ai:mainfrom
Pfannkuchensack:feature/minimize-to-tray

Conversation

@Pfannkuchensack

Copy link
Copy Markdown
Collaborator

Closes #52

Adds an opt-in "Hide Launcher After Startup" setting. When enabled, the launcher window hides to the system tray once Invoke has started, keeping the desktop uncluttered while Invoke runs (works in server mode too).

  • Add a Tray icon with a context menu (Show Launcher / Quit); clicking the icon restores the launcher window.
  • Auto-hide the launcher on the Invoke "running" status; restore it if Invoke errors or its window crashes; quit the app entirely when Invoke shuts down normally while the launcher was hidden.
  • Add a manual "Minimize to tray" button to the banner, backed by a new main-process:hide-to-tray IPC channel.
  • Confirm before closing the launcher window while Invoke is still running.
  • Persist window bounds even after a prevented/cancelled close.

Closes invoke-ai#52

Adds an opt-in "Hide Launcher After Startup" setting. When enabled, the
launcher window hides to the system tray once Invoke has started, keeping
the desktop uncluttered while Invoke runs (works in server mode too).

- Add a Tray icon with a context menu (Show Launcher / Quit); clicking the
  icon restores the launcher window.
- Auto-hide the launcher on the Invoke "running" status; restore it if
  Invoke errors or its window crashes; quit the app entirely when Invoke
  shuts down normally while the launcher was hidden.
- Add a manual "Minimize to tray" button to the banner, backed by a new
  main-process:hide-to-tray IPC channel.
- Confirm before closing the launcher window while Invoke is still running.
- Persist window bounds even after a prevented/cancelled close.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Minimize launcher to system tray after startup

1 participant