<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>365569</bug_id>
          
          <creation_ts>2016-07-12 21:11:21 +0000</creation_ts>
          <short_desc>After update to KF5.24 systemtray is missing its icons (and functionalities)</short_desc>
          <delta_ts>2016-09-20 13:04:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>System Tray widget</component>
          <version>5.6.5</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>slartibart70</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>asturm</cc>
    
    <cc>cerebellum</cc>
    
    <cc>cunio</cc>
    
    <cc>hrvoje.senjan</cc>
    
    <cc>kde</cc>
    
    <cc>luca86</cc>
    
    <cc>nucleo</cc>
    
    <cc>pulfer</cc>
    
    <cc>rdieter</cc>
          
          <cf_commitlink>http://commits.kde.org/plasma-workspace/641d30c5d58f99d3f43a5b180692367343a74df5</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1607426</commentid>
    <comment_count>0</comment_count>
    <who name="">slartibart70</who>
    <bug_when>2016-07-12 21:11:21 +0000</bug_when>
    <thetext>I did an update to kde frameworks 5.24 of fedora testing repos.
Reboot system, then login to kde.
- Systemtray seemed to be missing (no icons)
- i unlocked widgets
- systemtray was still there, but empty. Toggling systray entries (like battery of software updates) did not restore the icons
- i removed the systray completely and re-added it
- Icons reappeared, but kde was complaining about not being able to show laptop battery indicator (i also got some errors in .xsession-errors, e.g.
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/batterymonitor.qml: QML Plasmoid: Cannot anchor to an item that isn&apos;t a parent or sibling.)

- logout and login to kde
- systray gone missing again
- same procedure as above, remove systray and re-add it
- now, battery icon is available und works properly

- new logout and re-login: systray gone missing again... :-(


Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607709</commentid>
    <comment_count>1</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2016-07-13 18:24:05 +0000</bug_when>
    <thetext>What Qt version are you now on?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607720</commentid>
    <comment_count>2</comment_count>
    <who name="Colin J Thomson">colin.thomson</who>
    <bug_when>2016-07-13 19:05:15 +0000</bug_when>
    <thetext>I am also seeing this and using Fedora 24, Qt version is 5.6.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607975</commentid>
    <comment_count>3</comment_count>
    <who name="Jacek Pawlyta">cunio</who>
    <bug_when>2016-07-14 12:01:11 +0000</bug_when>
    <thetext>I see exactly the same problem with system tray. 
Fedora 24
KDE Frameworks 5.24.0
Qt 5.6.1 (built against 5.6.1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607983</commentid>
    <comment_count>4</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2016-07-14 12:19:29 +0000</bug_when>
    <thetext>I can confirm this (clearing needinfo as well).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607985</commentid>
    <comment_count>5</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2016-07-14 12:23:58 +0000</bug_when>
    <thetext>If it matters, when qt-5.6.1 landed, only selected pieces of plasma were rebuilt, those known to use (or potentially use?) private apis:
plasma-integration
(all other existing plasma builds are done against qt-5.6.0).

and all of kf5-5.24.0 was built against qt-5.6.1 too.

I mention this in case anyone knows of other plasma modules that should be rebulit on Qt5 upgrades (besides plasma-integration).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607987</commentid>
    <comment_count>6</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2016-07-14 12:33:57 +0000</bug_when>
    <thetext>I upgraded plasma-5.6.5 to plasma-5.7.1 (which was all built against qt5-5.6.1), and this issue seems gone.  So seems either to be something fixed in 5.7.1 (or some other explanation, like some other plasma module(s) needed rebuilding against qt5-5.6.1 too).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608112</commentid>
    <comment_count>7</comment_count>
    <who name="">slartibart70</who>
    <bug_when>2016-07-14 18:10:57 +0000</bug_when>
    <thetext>just to add my config:
fedora23, qt 5.6.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608164</commentid>
    <comment_count>8</comment_count>
    <who name="Hrvoje Senjan">hrvoje.senjan</who>
    <bug_when>2016-07-14 20:50:52 +0000</bug_when>
    <thetext>(In reply to Rex Dieter from comment #5)
&gt; I mention this in case anyone knows of other plasma modules that should be
&gt; rebulit on Qt5 upgrades (besides plasma-integration).

Kwin and kwayland; though i doubt this makes a difference for this issue.
In KF5 land, kdeclarative needs rebuilding (shouldn&apos;t, but as it can sometimes happen, reality is different, see https://bugreports.qt.io/browse/QTBUG-46433 and https://bugs.launchpad.net/bugs/1426335)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608207</commentid>
    <comment_count>9</comment_count>
    <who name="rооt">cerebellum</who>
    <bug_when>2016-07-15 06:25:18 +0000</bug_when>
    <thetext>Kubuntu 16.10
KDE Frameworks 5.24.0
Qt 5.6.1 (built against 5.6.1)

system tray working again if the widgets are not locked

No icons in system tray if widgets are locked
https://bugs.kde.org/show_bug.cgi?id=365701</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608313</commentid>
    <comment_count>10</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2016-07-15 13:39:41 +0000</bug_when>
    <thetext>*** Bug 365701 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608335</commentid>
    <comment_count>11</comment_count>
    <who name="Pulfer">pulfer</who>
    <bug_when>2016-07-15 16:13:31 +0000</bug_when>
    <thetext>(In reply to Hrvoje Senjan from comment #8)
&gt; (In reply to Rex Dieter from comment #5)
&gt; &gt; I mention this in case anyone knows of other plasma modules that should be
&gt; &gt; rebulit on Qt5 upgrades (besides plasma-integration).
&gt; 
&gt; Kwin and kwayland; though i doubt this makes a difference for this issue.

Reverting these 2 commits seems to fix the issue: 
1. https://quickgit.kde.org/?p=plasma-framework.git&amp;a=commitdiff&amp;h=6f5816fc575927201a1aa9cc1fdb0c75a1a3ab69 
2. https://quickgit.kde.org/?p=plasma-framework.git&amp;a=commitdiff&amp;h=4f7ead27d659352efd5104af08f94cea079d35a6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608360</commentid>
    <comment_count>12</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2016-07-15 17:01:53 +0000</bug_when>
    <thetext>That second commit won&apos;t make a difference to anything</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608961</commentid>
    <comment_count>13</comment_count>
    <who name="">slartibart70</who>
    <bug_when>2016-07-18 19:33:55 +0000</bug_when>
    <thetext>retesting with KF5.24, qt5.6.1 and plasma 5.7.1 of fedora testing repos.
Seems to be fixed, no more need to have &apos;widgets unlocked&apos; for functioning systray.
Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1609041</commentid>
    <comment_count>14</comment_count>
    <who name="Pulfer">pulfer</who>
    <bug_when>2016-07-19 02:51:29 +0000</bug_when>
    <thetext>IMHO, KF 5 updates shouldn&apos;t break older Plasma 5 releases. It shouldn&apos;t be a game &quot;guess which version of KF properly works with which version of Plasma&quot;. This bug is marked fixed now, but in fact it still exists in Plasma 5.6 branch used with KF 5.24.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1610249</commentid>
    <comment_count>15</comment_count>
    <who name="Andreas Sturmlechner">asturm</who>
    <bug_when>2016-07-24 18:37:45 +0000</bug_when>
    <thetext>Yes, this should definitely be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1623579</commentid>
    <comment_count>16</comment_count>
    <who name="Marco Martin">notmart</who>
    <bug_when>2016-09-20 13:04:19 +0000</bug_when>
    <thetext>Git commit c506c4b669747395755d1ff2b5dde1540b09ad0b by Marco Martin.
Committed on 20/09/2016 at 13:02.
Pushed by mart into branch &apos;Plasma/5.8&apos;.

better bookeeping of the config

be able to destroy applets even when locked: delete their config
by hand.
Except in one case: when the applet gets automatically destroyed
by dbus activation do *not* clear the config, it should be
reused next time.
Related: bug 365618

M  +14   -4    applets/systemtray/systemtray.cpp

http://commits.kde.org/plasma-workspace/c506c4b669747395755d1ff2b5dde1540b09ad0b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1623581</commentid>
    <comment_count>17</comment_count>
    <who name="Marco Martin">notmart</who>
    <bug_when>2016-09-20 13:04:19 +0000</bug_when>
    <thetext>Git commit 641d30c5d58f99d3f43a5b180692367343a74df5 by Marco Martin.
Committed on 20/09/2016 at 13:03.
Pushed by mart into branch &apos;Plasma/5.8&apos;.

reuse existing applets config

When there is already a config for a given plasmoid, reuse it
instead of creating a brand new plasmoid (having config groups
endlessy accumulating in the config file)

https://phabricator.kde.org/D2817
Related: bug 365618

M  +18   -1    applets/systemtray/systemtray.cpp

http://commits.kde.org/plasma-workspace/641d30c5d58f99d3f43a5b180692367343a74df5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>