<?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>481533</bug_id>
          
          <creation_ts>2024-02-19 06:38:49 +0000</creation_ts>
          <short_desc>Some pinned popups move weirdly when floating panel defloats</short_desc>
          <delta_ts>2025-02-06 15:14:52 +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.93.0</version>
          <rep_platform>Gentoo Packages</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>qt6</keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Quinten Kock">quinten</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>niccolo.venerandi</cc>
    
    <cc>niccolo</cc>
    
    <cc>orakmoyaofficial</cc>
    
    <cc>postix</cc>
    
    <cc>sdg.iitb</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-desktop/-/commit/cf4aef91df8b918eb1078b3479e705374efd976f</cf_commitlink>
          <cf_versionfixedin>6.3.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2290085</commentid>
    <comment_count>0</comment_count>
    <who name="Quinten Kock">quinten</who>
    <bug_when>2024-02-19 06:38:49 +0000</bug_when>
    <thetext>SUMMARY
When the panel is floating and defloats, an open popup should move smoothly to &apos;attach&apos; to the panel.

Some popups (e.g. Audio Volume) do this, but others don&apos;t (e.g. Media Player).


STEPS TO REPRODUCE
1. Open and pin Media Player popup
2. Make panel defloat by moving window to it

OBSERVED RESULT
Popup &apos;jumps&apos; around

EXPECTED RESULT
Popup moves smoothly with panel, like happens when you pin the Audio Volume popup instead.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Graphics Driver: Nvidia 545.29.06-r1 (RTX 2070)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2290241</commentid>
    <comment_count>1</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-02-19 20:39:48 +0000</bug_when>
    <thetext>Agh, can confirm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2290814</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-02-21 19:45:13 +0000</bug_when>
    <thetext>Hmm, they&apos;re all a bit jumpy for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2291853</commentid>
    <comment_count>3</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-02-25 21:46:59 +0000</bug_when>
    <thetext>*** Bug 481822 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2298941</commentid>
    <comment_count>4</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-03-11 14:34:44 +0000</bug_when>
    <thetext>*** Bug 483206 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2310715</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-04-11 20:25:00 +0000</bug_when>
    <thetext>*** Bug 466466 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2380992</commentid>
    <comment_count>6</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-12-13 13:45:04 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5001</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2380993</commentid>
    <comment_count>7</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-12-13 13:45:16 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1232</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2380994</commentid>
    <comment_count>8</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-12-13 13:45:29 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2670</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2389402</commentid>
    <comment_count>9</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2025-01-14 10:19:35 +0000</bug_when>
    <thetext>Git commit d6040d2f2a6fedec18e633b55ad4a4ecb11f07bc by Niccolò Venerandi.
Committed on 14/01/2025 at 10:14.
Pushed by niccolove into branch &apos;master&apos;.

Immediately update popup position upon setting margin

Margin is used to animate applets when the panel switches
from floating to not floating, so we immediately update the
position instead of using queuePositionUpdate, which would
only run at the end of the animation.

M  +5    -0    src/plasmaquick/popupplasmawindow.cpp

https://invent.kde.org/plasma/libplasma/-/commit/d6040d2f2a6fedec18e633b55ad4a4ecb11f07bc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2389408</commentid>
    <comment_count>10</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2025-01-14 10:51:14 +0000</bug_when>
    <thetext>Git commit 652c766243221f2452ae3628f1d915253b9ac999 by Niccolò Venerandi.
Committed on 14/01/2025 at 10:03.
Pushed by niccolove into branch &apos;master&apos;.

Animate margin changes for system tray popups

M  +10   -0    applets/systemtray/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/652c766243221f2452ae3628f1d915253b9ac999</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2389409</commentid>
    <comment_count>11</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2025-01-14 10:51:16 +0000</bug_when>
    <thetext>Git commit fd0e395be444600a03e1d4d2ebc6b07b38ee3f45 by Niccolò Venerandi.
Committed on 14/01/2025 at 10:03.
Pushed by niccolove into branch &apos;master&apos;.

Animate margin changes for applet popups

M  +11   -0    desktoppackage/contents/applet/CompactApplet.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/fd0e395be444600a03e1d4d2ebc6b07b38ee3f45</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2389410</commentid>
    <comment_count>12</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2025-01-14 10:51:53 +0000</bug_when>
    <thetext>Git commit 0c6b954c89ea11a4957a3578e4aa02d4e5be598f by Niccolò Venerandi.
Committed on 14/01/2025 at 10:51.
Pushed by niccolove into branch &apos;Plasma/6.3&apos;.

Immediately update popup position upon setting margin

Margin is used to animate applets when the panel switches
from floating to not floating, so we immediately update the
position instead of using queuePositionUpdate, which would
only run at the end of the animation.


(cherry picked from commit d6040d2f2a6fedec18e633b55ad4a4ecb11f07bc)

Co-authored-by: Niccolò Venerandi &lt;niccolo@venerandi.com&gt;

M  +5    -0    src/plasmaquick/popupplasmawindow.cpp

https://invent.kde.org/plasma/libplasma/-/commit/0c6b954c89ea11a4957a3578e4aa02d4e5be598f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2389411</commentid>
    <comment_count>13</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2025-01-14 10:52:04 +0000</bug_when>
    <thetext>Git commit e4eac6ceedd36d3f24f5b04c76f7adadfdb09530 by Niccolò Venerandi.
Committed on 14/01/2025 at 10:52.
Pushed by niccolove into branch &apos;Plasma/6.3&apos;.

Animate margin changes for system tray popups


(cherry picked from commit 652c766243221f2452ae3628f1d915253b9ac999)

Co-authored-by: Niccolò Venerandi &lt;niccolo@venerandi.com&gt;

M  +10   -0    applets/systemtray/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/e4eac6ceedd36d3f24f5b04c76f7adadfdb09530</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2389412</commentid>
    <comment_count>14</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2025-01-14 10:52:11 +0000</bug_when>
    <thetext>Git commit cf4aef91df8b918eb1078b3479e705374efd976f by Niccolò Venerandi.
Committed on 14/01/2025 at 10:52.
Pushed by niccolove into branch &apos;Plasma/6.3&apos;.

Animate margin changes for applet popups


(cherry picked from commit fd0e395be444600a03e1d4d2ebc6b07b38ee3f45)

Co-authored-by: Niccolò Venerandi &lt;niccolo@venerandi.com&gt;

M  +11   -0    desktoppackage/contents/applet/CompactApplet.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/cf4aef91df8b918eb1078b3479e705374efd976f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2395416</commentid>
    <comment_count>15</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-02-06 15:14:52 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5169</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>