Bug 456400 - Cursor gets stuck on first monitor when moving it to second monitor
Summary: Cursor gets stuck on first monitor when moving it to second monitor
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.25.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 14:23 UTC by Akseli Lahtinen
Modified: 2025-06-27 03:48 UTC (History)
3 users (show)

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


Attachments
Image of the mouse duplication bug (668.28 KB, image/png)
2022-07-06 14:23 UTC, Akseli Lahtinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akseli Lahtinen 2022-07-06 14:23:49 UTC
Created attachment 150441 [details]
Image of the mouse duplication bug

SUMMARY
I have two monitors, the leftmost monitor is the primary monitor.
On the rightmost monitor i have two windows quarter tiled on the left side of the monitor.

When moving my mouse cursor from left monitor to right monitor, the mouse cursor stays stuck on the left monitor edge, and stays "duplicated." The cursor on the right monitor works fine.

If i remove the tiled windows from the screen edge, the cursor moves normally from screen to screen and does not duplicate.

This bug appeared in 5.25.2 update.


STEPS TO REPRODUCE
1. Quarter tile two windows on your right monitor, on the left side of the monitor (Probably also works vice versa), where the monitor edges touch.
2. Move mouse cursor from left monitor to right monitor so that it touches one of the quartered windows.

OBSERVED RESULT
Cursor stays stuck on the first monitor and duplicates to the second monitor.

EXPECTED RESULT
Cursor disappears from first monitor and moves to second monitor.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Kernel Version: 5.18.9-200.fc36.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 ร— AMD Ryzen 5 3600 6-Core Processor
Memory: 15,4 GiB of RAM
Graphics Processor: AMD DIMGREY_CAVEFISH

ADDITIONAL INFORMATION
It seems that the left monitor cursor picks the resize icon before the cursor is on the right monitor and stays stuck.
Again, if theres no tiled windows, the cursor does not stay stuck on the left monitor.
Comment 1 Akseli Lahtinen 2022-07-20 10:41:35 UTC
Seems this bug happened because I had KWIN_DRM_NO_AMS=1 in /etc/environment

Removing that environment variable fixed the issue

I had added that variable due to the cursor contrast bug https://bugs.kde.org/show_bug.cgi?id=454660 (Which seems to be a driver bug)
Comment 2 TraceyC 2025-05-28 21:21:04 UTC
Have you seen this since this report was last updated?
Comment 3 TraceyC 2025-05-28 21:21:16 UTC
.
Comment 4 Bug Janitor Service 2025-06-12 03:47:54 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-06-27 03:48:02 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.