Bug 506405

Summary: shake cursor activates in osu lazer after 0f516bb1
Product: [Plasma] kwin Reporter: duha.bugs
Component: xwaylandAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal Keywords: regression
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description duha.bugs 2025-06-30 18:18:59 UTC
SUMMARY
shake cursor activates in osu lazer after 0f516bb1 and alt tabbing at least once. Does not happen in plasma 6.4.

STEPS TO REPRODUCE
1. Open the game
2. Alt tab out of the game and back in. ( Without alt tabbing at least once the shake cursor does NOT activate)
3. Shake cursor

OBSERVED RESULT
I see the ingame cursor as well as the plasma cursor enlarged.

EXPECTED RESULT
Shake cursor does not activate, as it did before  

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-arch1-1 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
If there is anything I can do to debug this further please let me know.
Comment 1 Vlad Zahorodnii 2025-07-08 09:46:05 UTC
I installed sh.ppy.osu from flathub and I cannot reproduce the issue.
Comment 2 Vlad Zahorodnii 2025-07-08 09:46:39 UTC
(In reply to Vlad Zahorodnii from comment #1)
> I installed sh.ppy.osu from flathub and I cannot reproduce the issue.

I alt-tab'ed multiple times
Comment 3 duha.bugs 2025-07-18 20:23:41 UTC
Thanks for looking into this Vlad.

I tried the flatpak version and it doesn't trigger the bug, since it is starting in Wayland not Xwayland. The AUR package I was using is defaulting to Xwayland. When I start it with SDL_VIDEODRIVER=wayland it works correct like the flatpak version.

I was unable to start the flatpak version as a Xwayland window (doesn't start with SDL_VIDEODRIVER=x11).

I am unable to reproduce this with other games (I don't play many different) and osu seems(?) to work fine with Wayland. 

I am unsure how to look into this further, If you prefer you can close the bug report.