Bug 511823

Summary: Mouse cursor lags when hovering over icon-changing elements
Product: [Plasma] kwin Reporter: valdikss
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: team
Priority: NOR    
Version First Reported In: 6.5.80   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description valdikss 2025-11-08 13:14:41 UTC
SUMMARY

After upgrading from Plasma 6.4.5 to 6.5.2, any event that changes mouse cursor results in cursor lag: when hovering over the button (which changes regular cursor to the hand with the finger), the cursor is freezed for several milliseconds (not moving), and only then it is positioned to where it has been moved with the new icon.

This usually happens only first several times, after which the lag is gone for some time.

STEPS TO REPRODUCE
1. Run Plasma 6.5.2 on Fedora 43
2. Hover over any element which changes mouse cursor in any software
3. Get the cursor lag

OBSERVED RESULT

Visible lag (absent of mouse movement) of several milliseconds when hovering over mouse-icon-changing elements.


EXPECTED RESULT

No visible lag, as it was in Plasma 6.4


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i5-1340P
Memory: 32 GiB of RAM (30,9 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics
Manufacturer: Intel(R) Client Systems
Product Name: NUC13ANKi5
System Version: N11211-203
Comment 1 fililip 2025-11-08 15:04:13 UTC
This is likely a duplicate of https://bugs.kde.org/show_bug.cgi?id=509669, which contains a workaround patch if you're interested :)
Comment 2 valdikss 2025-11-08 15:27:35 UTC
(In reply to fililip from comment #1)
> This is likely a duplicate of https://bugs.kde.org/show_bug.cgi?id=509669,
> which contains a workaround patch if you're interested :)

Indeed it seems like it. Thanks for the patch!

*** This bug has been marked as a duplicate of bug 509669 ***