https://bugs.kde.org/show_bug.cgi?id=451744

            Bug ID: 451744
           Summary: Implement toggle for "Sticky corners", preventing
                    mouse cursor moving between monitors in corners
           Product: frameworks-plasma
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: libplasma
          Assignee: plasma-b...@kde.org
          Reporter: mopylr...@mozmail.com
                CC: m...@ratijas.tk, notm...@gmail.com
  Target Milestone: ---

Created attachment 147636
  --> https://bugs.kde.org/attachment.cgi?id=147636&action=edit
An example image showing a mouse cursor moving into a corner, and its
trajectory sliding onto the adjacent monitor. An example of a 25px threshold is
also drawn on top

SUMMARY
To aid with button interactions in monitor corners, the four corners of a
monitor should (optionally) stop quick mouse movements towards corners from
moving onto the adjacent monitor.

HOW THIS IS USEFUL TO USERS
An example for a user with the close button in the top left of an application:
They quickly move their cursor to the top left, to close a maximized
application. However due to the quick movement, the cursor slides onto the
left-adjacent monitor.

Plasma stopping the mouse cursor from doing this in corners would be a great
quality-of-life improvement for users with many monitors, who tend to maximize
applications on several monitors. This is only an example, there are more
benefits to this.

Another use case I can imagine this is extremely helpful for, is to aid hot
corner usage for window tiling.

Let me use a final, personal example: I have a hotkey bound to Spectacle
rectangle selection, to copy a screenshot to clipboard quickly. Sometimes I
want to capture screenshots beginning in a screen edge, with these "sticky"
corners, worrying about capturing pieces of adjacent monitors (or manually
editing these tiny details) is no longer needed. 

It would also be nice if this could have a configurable threshold. Let's say by
default, on a 1080p monitor, it stops your mouse cursor if it tries to move to
the other screen 20~25 pixels within the top or bottom of the screen. A slider
can let users define this threshold themselves.

The feature is most likely best for power users. So at your own discretion,
would best be implemented as an optional feature, disabled by default to avoid
confusion for existing Plasma users if anything.

STEPS TO REPRODUCE
1. With a multi-monitor setup, move the mouse cursor all the way down or up
into a corner that has another monitor next to it
2. Move the mouse cursor towards the other monitor

OBSERVED RESULT
The mouse cursor moves freely to the other monitor with no resistance

EXPECTED RESULT
Plasma should ideally stops the mouse cursor from moving onto the other monitor

SOFTWARE/OS VERSIONS
Linux: Linux 5.16 ("Zen")
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
An implementation of this feature can be observed in action with Windows 8 or
newer.
In case my explanation is not clear, I have attached an image which should
hopefully clarify.

Apologies if this is the wrong category to post this wish in. Thank you for
reading!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to