-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No tray icon on KDE #4
Comments
Hi @arabine , thank you for reporting this. I think the issue is connected to the use of a special functional kind of icon, as explained below. I provide the following example for Gnome 3 Shell: As you can see, the icon is set to "envelope" by the following lines of code:
My guess is that these two have no valid meaning in KDE and hence not respected, and tray icon is not shown at all. I'd start by looking into how KDE encodes its special functional icons, such as notifications. A patch should offer a more portable way to use functional icons in different desktop environments. Alternatively, you can specify a custom bitmap icon, and check whether it works in KDE (it should work out of the box). This could be a very useful test as well! |
I tested with a standard icon name specified by the FreeDesktop and it works well on KDE: https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html eg:
I started a pull-request with multiple changes, including this topic. |
I discovered that you can use your own icon if you place an svg directly in Then in your CMakeLists.txt install(FILES "${CMAKE_SOURCE_DIR}/some-icon-name.svg" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons") Is it possible to define the full path to the image instead of just I also found this list of icons which are probably more universally supported. https://github.com/GNOME/gtk/blob/main/demos/icon-browser/icon.list |
@ReenigneArcher , yes you are right, one way is to install icon into |
…ndicator Origin fix legacy appindicator
Dear all, After this discussion @Rjvs has replaced GNOME-specific bindings with Qt6, which has been merged into the master branch of tray now. I would like to know what do you think of his solution. Do you still prefer to keep this appindicator solution for legacy purposes, or can it be dropped in favor of Qt6? |
Hello,
There is no tray icon visible on KDE. I don't know where to start but I can propose a patch if someone has some hints.
The text was updated successfully, but these errors were encountered: