https://bugs.kde.org/show_bug.cgi?id=352055

--- Comment #36 from Weng Xuetian <wen...@gmail.com> ---
(In reply to Albert Astals Cid from comment #32)
> I could always reproduce this bug doing
>        echo 3 > /proc/sys/vm/drop_caches
> as root and then as my user killing and restarting plasmashell.
> 
> But now I can not reproduce it anymore. Neither in my two Ubuntu Xenial
> systems running  Plasma 5.4.3 + Qt 5.5.1 nor on my Arch Linux system running
> Plasma 5.5.1 + Qt 5.5.1 so can't help with fixing this anymore.
> 
> If you guys are convinced the above patch does not fix it reopen the bug.

Personally I don't have problem on my system with 5.4.3. I tried to bisect the
problem, and actually found it's a007f294b4991c6f5730e0ec8d9d20f36e31acab,
which is quite unrelated to the original problem. More specifically, it's this
change below. But anyway it seems to be a Qt bug since if I increase the time
(0 -> 300), then I will be able to reproduce the bug will be it no matter which
syntax it is used  on my system.

diff --git a/applets/systemtray/plugin/host.cpp
b/applets/systemtray/plugin/host.cpp
index 27ca227..61e8705 100644
--- a/applets/systemtray/plugin/host.cpp
+++ b/applets/systemtray/plugin/host.cpp
@@ -99,7 +99,7 @@ Host::Host(QObject* parent) :
     QObject(parent),
     d(new HostPrivate(this))
 {
-    QTimer::singleShot(0, this, SLOT(init()));
+    QTimer::singleShot(0, this, &Host::init);
 }

Now I workaround the bug by using "Always show all icon" option in system tray.

BTW To reproduce this bug, I need to have at least 10 icons in the system tray.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to