Bug 435108 - "Move mouse to center" action should center within the current screen, not the combined area of all screens
Summary: "Move mouse to center" action should center within the current screen, not th...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.21.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-03-29 13:01 UTC by postix
Modified: 2024-04-27 03:36 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2021-03-29 13:01:09 UTC
Currently there are only shortcuts to move the mouse pointer to the focus and to center it. The latter however is evil when one uses two screens: The algorithm seem to calculate the center of when both screens are combined to one single polygon area. 

It would make more sense IMHO if it centered within the active screen _OR_ if there an additional shortcut for doing so.
Comment 1 David Edmundson 2024-04-25 14:01:34 UTC
Fixed in 6.0, potentially earlier
Comment 2 David Redondo 2024-04-25 14:05:13 UTC
tested, not fixed
Comment 3 Bug Janitor Service 2024-04-26 10:41:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5660
Comment 4 David Redondo 2024-04-26 11:00:51 UTC
Git commit 2e92fca0177ff812a78b5f85b1c0509a54c80e95 by David Redondo.
Committed on 26/04/2024 at 10:41.
Pushed by davidre into branch 'master'.

plugins/zoom: Center cursor on active screen on shortcut

M  +1    -1    src/plugins/zoom/zoom.cpp

https://invent.kde.org/plasma/kwin/-/commit/2e92fca0177ff812a78b5f85b1c0509a54c80e95
Comment 5 David Redondo 2024-04-26 11:12:46 UTC
Git commit 2bbf56a59b90e22d5ab3cebaba8100c31ae7f4ee by David Redondo.
Committed on 26/04/2024 at 11:01.
Pushed by davidre into branch 'Plasma/6.0'.

plugins/zoom: Center cursor on active screen on shortcut


(cherry picked from commit 2e92fca0177ff812a78b5f85b1c0509a54c80e95)

M  +1    -1    src/plugins/zoom/zoom.cpp

https://invent.kde.org/plasma/kwin/-/commit/2bbf56a59b90e22d5ab3cebaba8100c31ae7f4ee