System tray icon: keep running in the tray when the window is closed #17
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nether/vommet#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Discord, Telegram, Element and nearly every chat app keep running with a tray icon when you close the window, so you still get messages and calls. Commet only has a "minimize on close" setting (
preferences.minimizeOnClose,window_management.dart), which minimises the window. There's no tray icon, and closing otherwise quits the app.Plan
tray_manager(leanflutter, Linux + Windows + macOS). On Linux it uses StatusNotifierItem/AppIndicator, so the Flatpak manifest needs the D-Bus permission for the tray (--talk-name=org.kde.StatusNotifierWatcher) and the indicator library in the runtime or built as a module.Acceptance
On KDE/Windows: closing the window leaves a Vommet icon in the tray; new messages still notify; clicking the icon restores the window; Quit from the tray menu exits.
Filed with LLM assistance. This is a fork-only issue; never refile it on Commet's tracker.