Bug 489797 - Stutter when dragging window to tile or maximize it
Summary: Stutter when dragging window to tile or maximize it
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: performance (show other bugs)
Version: 6.1.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-05 17:13 UTC by dans64
Modified: 2025-01-12 16:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
mouse stutter video (466.60 KB, video/webm)
2024-08-03 16:52 UTC, dans64
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dans64 2024-07-05 17:13:45 UTC
SUMMARY
Kwin breifly stutters when tiling or maximizing a window 

STEPS TO REPRODUCE
1. drag window to the sides of the monitor or the top
2. make sure the side tiling or maximizing happens
3. move mouse around

OBSERVED RESULT
mouse will stutter afterwards after the animation is complete

EXPECTED RESULT
there should be no stutter

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 6.9.8
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3
Qt Version: 6.7.2

ADDITIONAL INFORMATION
might be similar bug to https://bugs.kde.org/show_bug.cgi?id=487043
Comment 1 fanzhuyifan 2024-08-03 03:37:15 UTC
Could you upload a video demonstrating the issue? Thanks!

Also this might be BUG 481610.
Comment 2 dans64 2024-08-03 16:52:42 UTC
Created attachment 172254 [details]
mouse stutter video
Comment 3 dans64 2024-08-03 16:53:30 UTC
It's a bit hard to notice, but it's around the 1 second mark. I'll try to get a better video soon.
Comment 4 fanzhuyifan 2024-08-03 17:00:46 UTC
Can reproduce on wayland, git master -- if you look at the mouse it will stutter just after tiling/maximizing
Comment 5 dans64 2024-08-03 17:21:41 UTC
Thanks, guess I should have clarified a bit more about my setup, dual monitors at 144hz and running kwin wayland.
Comment 6 dans64 2024-08-20 15:39:29 UTC
Ran iotop -o and started dragging windows to quick tile them and fullscreen, looks like it's the same bug as https://bugs.kde.org/show_bug.cgi?id=487043, so it's still not fixed? Moving my mounting my ~/.cache/kwin/qmlcache to tmpfs didnt help and might have made it worse.
Comment 7 Krut Patel 2024-10-16 19:33:45 UTC
Got the same error with Plasma 6.2.1 on X11 - also happens when switching virtual desktops where one has a maximized screen.