Bug 468656

Summary: Duplicate mouse cursor left-over in the second monitor
Product: [Plasma] kwin Reporter: Alessandro Astone <ales.astone>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdedev, nate
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video of the bug

Description Alessandro Astone 2023-04-18 15:23:40 UTC
Created attachment 158191 [details]
video of the bug

SUMMARY
When nothing is causing a monitor to refresh its contents, it might happen that the last drawn frame includes the mouse cursor even after it has crossed over to a different monitor.
Video capture in the attachments.

STEPS TO REPRODUCE
1. Set a low polling rate on the mouse, if possible. I can reproduce on the default 125Hz
2. Close all windows on monitor A
3. Move the mouse quickly from monitor A to monitor B

OBSERVED RESULT
Monitor A still shows a mouse cursor although I'm moving the cursor in monitor B

EXPECTED RESULT
Monitor A shows no cursor

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 37 KDE
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Wayland on nvidia
Comment 1 TraceyC 2025-05-28 21:22:48 UTC
I haven't seen this on Wayland in Plasma 6, on a system with an nvidia GPU. Many things have been updated and improved since this was opened. Have you seen this on your system with Plasma 6.3.5 or later?
Comment 2 Alessandro Astone 2025-05-29 08:08:46 UTC
Right; I have not seen this recently.
Comment 3 TraceyC 2025-05-29 15:32:49 UTC
Thanks for confirming!