SUMMARY The computer "runs" for a long time over many days with suspending to memory and waking up daily. After system starts from cold boot the icons for KMail and KWalletManager are shown in the i3bar notification area (legacyIcon). The icons are present for multiple days and multiple suspend/sleep cycles until they disappear. STEPS TO REPRODUCE 1. Use i3bar to provide legacy notification area 2. Run it for a long time, maybe with suspend-resume 3. Wait and observe OBSERVED RESULT One day, the tray icons disappears and will not appear until other reboot (I did not try to logout - login). After the conditions for tray disappearing icons are met, no new KMail or KWalletManager icons are shown, even if programs are restarted. EXPECTED RESULT Icons are still show in the notification are like any other. SOFTWARE/OS VERSIONS Operating System: Artix Linux KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.1 Kernel Version: 6.12.3-artix1-1 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 570 Series ADDITIONAL INFORMATION This is happening for a long time already.
Can I ask how you reached the conclusion that frameworks-kstatusnotifieritem is at fault here, as opposed to i3's tray implementation?
> Can I ask how you reached the conclusion that frameworks-kstatusnotifieritem is at fault here, as opposed to i3's tray implementation? You are right, I blindly assumed that since only KDE programs (KMail and KWalôletManager) disappear and Transmission-qt shows the icon all Qt stuff will show it just fine as well and KDE ones will not.. That does not seems to be the case since the systray qt example[1] also does not show the icon. So I believe that this is either i3bar or Qt issue. Thank you for pointing this out. Best regards, [1]: https://doc.qt.io/qt-6/qtwidgets-desktop-systray-example.html
You're welcome!
When my i3 desktop start, there is no kded6 running, after some time something starts it (I use multiple programs from KDE). I do not know which program is requesting kded6 to start, yet. kded6 acts as dbus master for "org.kde.StatusNotifierWatcher" which is missing a path (reported by Kmail) > QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/StatusNotifierWatcher'") So, this is truly a bug or feature in KDE software and not in my beloved i3. So it short when my i3 start there is no master for "org.kde.StatusNotifierWatcher" and thus service is not provided, kde programs use normal tray. When there is a dbus master for "org.kde.StatusNotifierWatcher" than kde program use this interface to request a tray icon or widget or whatever you call it. best regards, Juraj