Bug 417658 - [Wayland] "drag and maximize/restore window" centers mouse pointer in windows
Summary: [Wayland] "drag and maximize/restore window" centers mouse pointer in windows
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (show other bugs)
Version: 5.18.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-14 18:26 UTC by jano.paetzold
Modified: 2023-09-06 10:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jano.paetzold 2020-02-14 18:26:02 UTC
SUMMARY

The feature introduced in bug 400391 works perfectly fine on X, however, on Wayland it centers the mouse in the windows instead of placing it on the title bar (like on X) when the window is dragged. 

STEPS TO REPRODUCE
1. Log in to a Wayland session
2. Create a Latte panel
3. Enable "drag and maximize/restore window" (on the first page of the panel configuration dialog)
4. Open you favourite application and maximize it if it isn't
5. Drag it from the title bar

OBSERVED RESULT

The window will be restored and you'll be able to drag it, but the mouse pointer is placed on the middle of the window.

EXPECTED RESULT

The mouse pointer should be placed in the title bar of the window, like on X11.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.18

KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Comment 1 Michail Vourlakos 2020-02-14 19:47:31 UTC
You can ask for that from kwin developers. Latte has no responsibility on this.
Comment 2 David Edmundson 2023-09-06 10:38:18 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.