<?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>431668</bug_id>
          
          <creation_ts>2021-01-16 00:16:35 +0000</creation_ts>
          <short_desc>Icons-Only Task Manager centered using panel spacers flickers when system tray displays a new entry</short_desc>
          <delta_ts>2022-02-21 17:00:37 +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>Panel</component>
          <version>5.20.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>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Felipe Kinoshita">kinofhek</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>monorail_unadorned989</cc>
    
    <cc>nate</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/commit/b382f61c914072732cabd9b5ae0d6e7b12fc20a9</cf_commitlink>
          <cf_versionfixedin>5.24.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1994854</commentid>
    <comment_count>0</comment_count>
    <who name="Felipe Kinoshita">kinofhek</who>
    <bug_when>2021-01-16 00:16:35 +0000</bug_when>
    <thetext>I centralized the Icons-Only Task Manager with two flexible spacers, when a system tray&apos;s &quot;Show when relevant&quot; entry is shown, it flickers

STEPS TO REPRODUCE
1. put two flexible size spacer around the Icons-Only Task Manager
2. set some system tray&apos;s entry to &quot;Show when relevant&quot;
3. activate the entry, e.g. if the clipboard entry is currently hidden, copy some text so it activates 

OBSERVED RESULT
Icons-Only Task Manager flickers when hidden entry is shown

EXPECTED RESULT
Icons-Only Task Manager should not be affected

SOFTWARE/OS VERSIONS
Linux: Fedora KDE 33
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2105047</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-02-15 19:51:19 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1464</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106905</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-21 16:58:06 +0000</bug_when>
    <thetext>Git commit 5824e6362008988f74d07c9fce930e93294b990d by Nate Graham, on behalf of Martin Seher.
Committed on 21/02/2022 at 16:58.
Pushed by ngraham into branch &apos;master&apos;.

applets/panelspacer: Fix optimal size calculation

Get rid of the delayed optimal size calculation caused by Qt.callLater
and calculate optimal size immediately when an applet&apos;s size changes.
This removes the unnecessary jumping of applets that are centered between 2
spacers.
FIXED-IN: 5.24.2

M  +8    -22   applets/panelspacer/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/5824e6362008988f74d07c9fce930e93294b990d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106906</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-21 17:00:37 +0000</bug_when>
    <thetext>Git commit b382f61c914072732cabd9b5ae0d6e7b12fc20a9 by Nate Graham, on behalf of Martin Seher.
Committed on 21/02/2022 at 17:00.
Pushed by ngraham into branch &apos;Plasma/5.24&apos;.

applets/panelspacer: Fix optimal size calculation

Get rid of the delayed optimal size calculation caused by Qt.callLater
and calculate optimal size immediately when an applet&apos;s size changes.
This removes the unnecessary jumping of applets that are centered between 2
spacers.
FIXED-IN: 5.24.2


(cherry picked from commit 5824e6362008988f74d07c9fce930e93294b990d)

M  +8    -22   applets/panelspacer/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/b382f61c914072732cabd9b5ae0d6e7b12fc20a9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>