{{ message }}
fix: resolve KDE tray icon by passing bundled IconThemePath#564
Merged
Core447 merged 1 commit intoMar 5, 2026
Merged
Conversation
…icon
On non-Flatpak installations (e.g. AUR), the system icon theme may not
contain an icon named 'com.core447.StreamController', causing the tray
icon to be missing on KDE Plasma.
The StatusNotifierItem spec's IconThemePath property allows apps to
advertise a custom icon search path. The repo already ships the icon as
Assets/icons/hicolor/{48x48,512x512}/apps/com.core447.StreamController.png,
structured as a valid freedesktop icon theme root.
Passing MAIN_PATH/Assets/icons as IconThemePath ensures KDE always finds
the bundled icon regardless of installation method.
Fixes StreamController#538
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fixes #538 — the system tray icon is missing on KDE Plasma for non-Flatpak installations (AUR, etc.).
Root cause:
src/tray.pysets the StatusNotifierItemIconNametocom.core447.StreamController, but on non-Flatpak systems the icon is installed asstreamcontroller.png(notcom.core447.StreamController.png), so KDE cannot find it in the system icon theme.Fix: The StatusNotifierItem spec provides
IconThemePathexactly for this case — an additional path the desktop environment should search for icons. The repository already ships the icon correctly named at:Assets/icons/hicolor/48x48/apps/com.core447.StreamController.pngAssets/icons/hicolor/512x512/apps/com.core447.StreamController.pngAssets/icons/is already a valid freedesktop icon theme root. We now pass its absolute path asIconThemePath, so KDE always finds the bundled icon regardless of installation method.Change:
src/tray.py— one additional line to resolve the icon theme path, and pass it to the existingset_icon()call which already accepts apathparameter.Test plan