Bug 355992 - kdepim-15.08.3 programs fail with "QSystemTrayIcon::setVisible: No Icon set" errors
Summary: kdepim-15.08.3 programs fail with "QSystemTrayIcon::setVisible: No Icon set" ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kdepim
Classification: Applications
Component: general (show other bugs)
Version: GIT (master)
Platform: Compiled Sources Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 15:16 UTC by Kwanza.Pili
Modified: 2016-11-17 23:35 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kwanza.Pili 2015-11-27 15:16:26 UTC
I compiled kdepim-15.08.3 from source and I cannot get most of its programs (akregator, blogilo, kalarm, kleopatra, korgac, etc.) to work. They all emit endless errors "QSystemTrayIcon::setVisible: No Icon set" and consume ~98% of CPU until I kill them. I have tried running them under gdb, but they only terminate when I stop them or when akonadi complains of too many files being open. SO I'm guessing that something is trying to set the icon set and ends up in an endless loop.
Other applications:
kde framework = 5.4.3
kde applications = 15.08.3
QT = 5.5.1
OS = opensuse 42.1

Reproducible: Always

Steps to Reproduce:
1. Run korgac / kalarm in terminal window
2. 
3.

Actual Results:  
Endless error report in terminal window or tens of debug popups if run from menu. The application does not terminate unless forcibly killed.

Expected Results:  
Run application or daemon or exit gracefully

Most other Kde apps work without similar issues. The selected desktop and icon theme is breeze. Fonts are set to oxygen
Comment 1 Jonathan Marten 2015-11-27 15:36:25 UTC
Is this under the Plasma 5 desktop?  if so, is DBus set up correctly and running, with its environment variables set in that terminal window?

Possible duplicate of bug 350785.
Comment 2 Kwanza.Pili 2015-11-27 19:32:00 UTC
Yes, I'm running it under plasma5-workspace-5.4.3.

The same behaviour occurs even when the application launches automatically (e.g. korgac via /etc/xdg/autostart/org.kde.korgac.desktop). I rerun in a terminal just so that I can observe the errors. The big problem is that they run out of control and into infinite loops, thus consuming all the CPU.

DBUS is running. The output it dbus-launch gives:
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jpDuuLSzGC,guid=eafe6573b139512ea42d48c35658af23
DBUS_SESSION_BUS_PID=13691
Moreover, using "dbus-launch korgac" yields precisely the same results: QSystemTrayIcon::setVisible: No Icon set
Comment 3 kedrot 2015-12-21 08:03:50 UTC
Looks related to https://bugs.kde.org/show_bug.cgi?id=353062, but that one only triggers for me when using a non-plasma tray (Trayer, Stalonetray, etc).