Summary: | KStatusNotifierItem not working in newer versions of KDE 4 | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | lpugoy |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.9.98 RC3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
lpugoy
2013-02-07 12:23:13 UTC
this is because your icon has no id. changing: self.tray = KStatusNotifierItem(self) to: self.tray = KStatusNotifierItem("someId", self) causes it to show. or register data with the main component (e.g. via KAboutData). the problem is that you do not have a name in the main component and so it can't find one to assign automatically. in previous releases, apparently the system tray didn't care about this (which undoubtedly broke other things). it also means that *no* configuration could be saved for that entry, nor any reliable way of referencing it at runtime made (other than the dbus service itself). that it worked previously was something of an accident. Thanks. I was able to confirm that that resolved the issue. |