-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
Since the service rename introduced in PR #4779, KDE Plasma cannot persist system tray visibility settings for the Sunshine tray icon across reboots.
The root cause is that Sunshine registers its tray icon via the ayatana StatusNotifier protocol using a dynamic ID in the format trayid{PID} (e.g. trayid38001), where the PID changes on every startup. This can be confirmed via DBus introspection:
gdbus introspect --session --dest org.kde.StatusNotifierWatcher --object-path /StatusNotifierWatcher
Which yields entries like:
:1.105/org/ayatana/NotificationItem/trayid38001
Because the ID is different on every boot, KDE Plasma treats the tray icon as a new/unknown application each time and resets it to the default visibility (always shown), discarding any user-configured preferences such as "Show only in popup".
A well-behaved StatusNotifier application should register with a consistent, static identifier that does not incorporate the process PID.
Expected Behavior
The system tray icon ID should be static and consistent across reboots, allowing desktop environments to correctly persist user-configured tray visibility settings.
Additional Context
The issue is a regression introduced by PR #4779, which renamed the unprivileged systemd service to app-dev.lizardbyte.app.Sunshine.service for XDG compliance. After updating to a build containing this change and re-enabling autostart via:
systemctl --user enable --now app-dev.lizardbyte.app.Sunshine.service
...the tray ID became dynamic (trayid{PID}) on every boot, preventing KDE Plasma from persisting tray visibility settings.
Host Operating System
Linux
Operating System Version
Fedora 43 KDE
Architecture
amd64/x86_64
Package
Linux - Fedora Copr
GPU Type
AMD
GPU Model
AMD
GPU Driver/Mesa Version
Radeon RX 7800 XT
Capture Method
KMS (Linux)
Apps
Log output
Online logs
No response