<?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>475250</bug_id>
          
          <creation_ts>2023-10-05 15:39:40 +0000</creation_ts>
          <short_desc>Conflicting animations driving Window Heap in and out causing stuttery effect</short_desc>
          <delta_ts>2023-12-06 14:49:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>effects-overview</component>
          <version>git master</version>
          <rep_platform>Other</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Edmundson">kde</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink></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>2257048</commentid>
    <comment_count>0</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2023-10-05 15:39:40 +0000</bug_when>
    <thetext>When activating via a keyboard shortcut:

overviewVal which steps through from 0-1 
WindowHeapDelegate binds to this to update the position

We enter this step through:

        Transition {
            to: &quot;initial, initial-hidden, active-normal, active-hidden&quot;
            NumberAnimation {
                duration: thumb.windowHeap.animationDuration
                properties: &quot;x, y, width, height, opacity&quot;
                easing.type: Easing.OutCubic
            }

which will take effect at the last change making the last update look slow

and we also have a:
   TweenBehavior on x {}

which operates on all updates and also throws things off

Both of these are conflicting which gives us an animation that moves at seemingly random speeds as each X update retargets an animation badly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2271725</commentid>
    <comment_count>1</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2023-12-06 14:47:42 +0000</bug_when>
    <thetext>Implicitly fixed via https://invent.kde.org/plasma/kwin/-/merge_requests/4697 as we end up retargeting after the state starts as the text laying out changes the text height which changes the expo layout margins which changes the width...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>