Bug 502117

Summary: Double mouse cursor after disconnecting second screen
Product: [Plasma] kwin Reporter: Tobias G. <kde-bugzilla.oink169>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kdedev, nate, xaver.hugl
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Second cursor on lock screen

Description Tobias G. 2025-03-28 09:44:46 UTC
Created attachment 179812 [details]
Second cursor on lock screen

SUMMARY
Hi there,

after connecting and disconnecting a second screen rather quickly (less than a 30 seconds between connect and disconnect), a second mouse cursor appeared on my internal screen that doesn't moe and doesn't go away. It's visible everywhere, so above regular windows, on the lock screen etc.
Curiously, screenshots don't include the cursor, so I took a picture with my phone.

It happened for the first time now, I have never seen this before, even after disconnecting this very screen.

STEPS TO REPRODUCE
1. connect screen
2. disconnect screen
3. observe

OBSERVED RESULT
second cursor on screen

EXPECTED RESULT
only one cursor on screen

SOFTWARE/OS VERSIONS
Operating System: Yuga Linux 20250326
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-1-yuga (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7

ADDITIONAL INFORMATION
While this is Yuga Linux, it uses openSUSE Tumbleweed packages and repos.
Comment 1 TraceyC 2025-04-04 00:03:21 UTC
How odd.
I'm not able to reproduce this on Plasma 6.3.3 or on git-master. I'll leave it open in case someone else can.

Both systems are laptops. One has an AMD GPU, the other nvidia
Comment 2 Zamundaaa 2025-11-17 17:28:31 UTC
Does that second cursor go away if you trigger a repaint in that area? Just moving a window there should be enough
Comment 3 Tobias G. 2025-11-17 17:31:27 UTC
(In reply to Zamundaaa from comment #2)
> Does that second cursor go away if you trigger a repaint in that area? Just
> moving a window there should be enough

When it happened, no. The mouse cursor would stay on top of any window.
However, it hasn't happened to me in a long time, so you can close this issue if you want to.
Comment 4 TraceyC 2025-11-17 19:25:16 UTC
Thanks for letting us know. I'll close this out for now. If it happens again, feel free to set the report to REOPENED.