Bug 488777 - Borderbehaviour for Mousepointer on Multiscreen setup
Summary: Borderbehaviour for Mousepointer on Multiscreen setup
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: git-stable-Plasma/6.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-20 09:04 UTC by Dominik
Modified: 2024-06-20 10:53 UTC (History)
0 users

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 Dominik 2024-06-20 09:04:06 UTC
SUMMARY

Mouse pointer hangs on borders between screens.


STEPS TO REPRODUCE
1.  Have Multi-Screen Setup
2. Move Mouse between screens
3. See it hang always on "switching" screen

OBSERVED RESULT

Mouse pointer hangs.

EXPECTED RESULT

Mouse pointer only hangs when dragging a window border.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux Rolling / Plasma 6.1
(available in About System)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2024-06-20 10:17:49 UTC
Does the pointer get stuck as the screen edge? so you can't move it anywhere else anymore?
Comment 2 Vlad Zahorodnii 2024-06-20 10:17:59 UTC
at*
Comment 3 Dominik 2024-06-20 10:31:10 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Does the pointer get stuck as the screen edge? so you can't move it anywhere
> else anymore?

No, it is not getting stuck, it is being "magnetized" and there is no reason for it to do so, no window, nothing being draged. 

So the behaviour I would expect to be there when I drag a window or a window border to the edge of the screen, also hapens when there is nothing at all, no window on any screen displaying. - It only happens when the mouse is not moved fast enough.
Comment 4 Vlad Zahorodnii 2024-06-20 10:37:29 UTC
This is a new feature in 6.1.0 to assist with tiling windows to screen edges or accidentally the pointer to another screen.

If you don't like it, you can reset the edge barrier value in screen edge system settings.
Comment 5 Dominik 2024-06-20 10:41:11 UTC
(In reply to Vlad Zahorodnii from comment #4)
> This is a new feature in 6.1.0 to assist with tiling windows to screen edges
> or accidentally the pointer to another screen.
> 
> If you don't like it, you can reset the edge barrier value in screen edge
> system settings.

(In reply to Dominik from comment #3)
> (In reply to Vlad Zahorodnii from comment #1)
> > Does the pointer get stuck as the screen edge? so you can't move it anywhere
> > else anymore?
> 
> No, it is not getting stuck, it is being "magnetized" and there is no reason
> for it to do so, no window, nothing being draged. 
> 
> So the behaviour I would expect to be there when I drag a window or a window
> border to the edge of the screen, also hapens when there is nothing at all,
> no window on any screen displaying. - It only happens when the mouse is not
> moved fast enough.

(In reply to Vlad Zahorodnii from comment #4)
> This is a new feature in 6.1.0 to assist with tiling windows to screen edges
> or accidentally the pointer to another screen.
> 
> If you don't like it, you can reset the edge barrier value in screen edge
> system settings.

OK, it can actually be argued as "its not a bug, but a feature", I understand. 

But shouldnt the behaviour of sticky borders be limited to windows resizing/dragging? - Thats why I reported this as a bug. - Because that would actually make sense, not that the screen borders are always sticky, but only when it is actually of use.
Comment 6 Vlad Zahorodnii 2024-06-20 10:45:03 UTC
Interactive move resize is just one of the use cases. Another use case is showing auto hide panels between screens.
Comment 7 Dominik 2024-06-20 10:53:33 UTC
(In reply to Vlad Zahorodnii from comment #6)
> Interactive move resize is just one of the use cases. Another use case is
> showing auto hide panels between screens.

Understood. Would it be possible to have these as separate enable/disable options in the Settings?

Dont want to go to far on this, but as an idea:
Maybe activating hidden panels could be realized by having a type of blurr zone. What I mean with this is when the mouse pointer approaches the edge of the screen, and I then pull it a bit away again (Staying on the same screen) it activates the hidden panel. - A bit like a gesture for touch, where you pull from the edge into the screen to "pull out" the hidden panel. - This could be a distinction between the requirement of a sticky edge, and the possibility to unhide a hidden panel. - It would feel more natural, and probably be more easy to integrate with touch gestures as well. - This way the sticky border could be limited to actually active use cases, and not interrupt the mose movement unintentionally.

BTW: I noticed, in corners, the mouse pointer is extremly sticky. 

Also, if I dont have any hidden panel at that edge, wouldnt it make sense to actually disable the stickyness on that edge as long as I am not dragging anything of relevance?