<?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>488813</bug_id>
          
          <creation_ts>2024-06-20 18:29:36 +0000</creation_ts>
          <short_desc>Shake cursor inoperable with animation speed set to instant</short_desc>
          <delta_ts>2024-06-22 00:38:01 +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-various</component>
          <version>6.1.0</version>
          <rep_platform>Arch Linux</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="Parker Reed">parker.l.reed</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/64f1455b1153214e9825953609bd3b63bfd9c74a</cf_commitlink>
          <cf_versionfixedin>6.1.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2329795</commentid>
    <comment_count>0</comment_count>
    <who name="Parker Reed">parker.l.reed</who>
    <bug_when>2024-06-20 18:29:36 +0000</bug_when>
    <thetext>***
If you&apos;re not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you&apos;re reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

With animation speed set to instant, shake cursor does not work.

STEPS TO REPRODUCE
1. Set animations to instant
2. Enable Shake Cursor under accessibility 
3. Try to shake cursor

OBSERVED RESULT

Cursor stays the same size

EXPECTED RESULT

Cursor to inflate when shaken

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.8.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329798</commentid>
    <comment_count>1</comment_count>
    <who name="Parker Reed">parker.l.reed</who>
    <bug_when>2024-06-20 18:31:34 +0000</bug_when>
    <thetext>Subsequently the cursor size changing is entirely dependent on animation speed.

If you have it set really low, it takes a long time to inflate and deflate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329825</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-20 19:09:22 +0000</bug_when>
    <thetext>hah, confirmed. It&apos;s also pretty weird with the speed set to a very slow value.

Maybe we should opt this out of respecting the global animation scale.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329827</commentid>
    <comment_count>3</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-06-20 19:12:51 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5951</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329839</commentid>
    <comment_count>4</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2024-06-20 19:38:24 +0000</bug_when>
    <thetext>Git commit 9276d28b3d6b5b8e572fdd46658734de54ef917f by Vlad Zahorodnii.
Committed on 20/06/2024 at 19:28.
Pushed by vladz into branch &apos;master&apos;.

plugins/shakecursor: Ignore animation speed

From the user perspective, shaking cursor is not perceived as an
animation, so let&apos;s ignore the global animation speed factor.

M  +2    -4    src/plugins/shakecursor/shakecursor.cpp

https://invent.kde.org/plasma/kwin/-/commit/9276d28b3d6b5b8e572fdd46658734de54ef917f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329847</commentid>
    <comment_count>5</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2024-06-20 19:55:08 +0000</bug_when>
    <thetext>Git commit 64f1455b1153214e9825953609bd3b63bfd9c74a by Vlad Zahorodnii.
Committed on 20/06/2024 at 19:41.
Pushed by vladz into branch &apos;Plasma/6.1&apos;.

plugins/shakecursor: Ignore animation speed

From the user perspective, shaking cursor is not perceived as an
animation, so let&apos;s ignore the global animation speed factor.


(cherry picked from commit 9276d28b3d6b5b8e572fdd46658734de54ef917f)

Co-authored-by: Vlad Zahorodnii &lt;vlad.zahorodnii@kde.org&gt;

M  +2    -4    src/plugins/shakecursor/shakecursor.cpp

https://invent.kde.org/plasma/kwin/-/commit/64f1455b1153214e9825953609bd3b63bfd9c74a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>