Bug 489017 - [wayland] Moving the mouse cursor across the corners of a display causes it to get stuck
Summary: [wayland] Moving the mouse cursor across the corners of a display causes it t...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 6.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-23 03:06 UTC by Eamonn Rea
Modified: 2024-06-23 13:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eamonn Rea 2024-06-23 03:06:39 UTC
SUMMARY
This bug is not the same as Bug 488829, which is related to a new feature in Plasma 6.1.0

If you have two displays arranged horizontally or vertically, if you attempt to move the mouse while hugging one of the connected edges, the cursor will get stuck in the corner that connects the displays. They do not even have to be perfectly aligned to see this.

For example, if you have two displays arranged vertically, hug the left or right edge and attempt to move the cursor down. It will get stuck as it tries to go beyond the display. This is not the same as the Edge Barriers feature because this only applies to the screen corners, and no amount of pulling will get the cursor to move down, and it also occurs if you have Edge Barriers disabled. You have to move the cursor away from the edge and then it can move down.

If you have displays arranged horizontally, the same thing happens when hugging the top or bottom edge. It also happens if your displays are not perfectly aligned, for example a displays arranged horizontally but slightly offset from each other. Attempting to move into the display when hugging a corner only will cause the cursor to get stuck. 

STEPS TO REPRODUCE
1. Arrange some displays
2. Attempt to move the mouse between displays while hugging one of the edges
3. At the corner where the displays connect, the mouse will get stuck, and this only happens in the corners.

OBSERVED RESULT
Cursor can get stuck when moving between displays if hugging the edge.

EXPECTED RESULT
Cursor should not get stuck.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.5 Linux Zen
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Comment 1 Filip 2024-06-23 08:37:49 UTC
This is intentional behavior. If you don't like this feature, you can disable it in System Settings.
Go to Mouse & Touchpad -> Screen Edges -> Uncheck Corner barrier
Comment 2 Eamonn Rea 2024-06-23 13:26:56 UTC
Perfect, nice and smooth again, thank you!