Skip to content

main: add system tray icon - #4651

Open
jpk68 wants to merge 1 commit into
monero-project:masterfrom
jpk68:tray-icon
Open

main: add system tray icon#4651
jpk68 wants to merge 1 commit into
monero-project:masterfrom
jpk68:tray-icon

Conversation

@jpk68

@jpk68 jpk68 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Adds a tray icon that can be used to (un)minimize the main window. Also includes a Quit option to close the app from the tray.

TODO:

  • macOS fixes
  • Test on Windows

Resolves #4205
Resolves #2038
Resolves #3316

@selsta

selsta commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

I don't think this solves all the linked issues, the common request is a system tray for the daemon running in the background when the GUI quit, which as far as I can tell is not solved by this PR, but I did not compile it yet.

@jpk68

jpk68 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

I don't think this solves all the linked issues, the common request is a system tray for the daemon running in the background when the GUI quit, which as far as I can tell is not solved by this PR, but I did not compile it yet.

Apologies, I should probably remove some of the linked issues. AFAIK it does not solve that problem.

@selsta

selsta commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

It also does not seem to solve the other issues since the common request is for the app to basically hide from the task bar, which is not what minimized does. This might be solvable with setting it to Window.Hidden, but I did not try this yet.

https://doc.qt.io/qt-6/qwindow.html#Visibility-enum

@jpk68

jpk68 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

It also does not seem to solve the other issues since the common request is for the app to basically hide from the task bar, which is not what minimized does. This might be solvable with setting it to Window.Hidden, but I did not try this yet.

https://doc.qt.io/qt-6/qwindow.html#Visibility-enum

Fixed; this should work now.

@plowsof

plowsof commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

is this for windows only?

@jpk68

jpk68 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

is this for windows only?

No, it should be cross-platform. It works as expected on KDE as well.

Comment thread main.qml
Comment thread main.qml Outdated
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.

Add the minimize to Tray setting. Feature Request: minimize to system tray on Windows. [UX] Add a tray icon for the GUI

3 participants