Bug 419442 - [Wayland] Wrong mouse position while dragging borderless windows
Summary: [Wayland] Wrong mouse position while dragging borderless windows
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (other bugs)
Version First Reported In: git master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-31 05:02 UTC by Mufeed Ali
Modified: 2024-02-21 14:03 UTC (History)
3 users (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 Mufeed Ali 2020-03-31 05:02:08 UTC
SUMMARY
On a Plasma Wayland session with Latte using the Unity layout or a similar layout supporting borderless windows, dragging the window using the top panel will result in the mouse moving to the center of the window instead of the title bar.

STEPS TO REPRODUCE
1. Start Plasma Wayland session.
2. Use Unity layout.
3. Drag maximized window by using top panel.

OBSERVED RESULT
The window is dragged by the titlebar.

EXPECTED RESULT
The window is dragged by the center of the window (like Meta+Drag).

SOFTWARE/OS VERSIONS
Arch Linux
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68
Qt Version: 5.14.1
Comment 1 Michail Vourlakos 2020-03-31 07:20:40 UTC
KWin wayland has no interface to position mouse appropriately
Comment 2 Mufeed Ali 2020-03-31 09:52:23 UTC
(In reply to Michail Vourlakos from comment #1)
> KWin wayland has no interface to position mouse appropriately

So, for now, this will remain impossible. Should I close this?
Comment 3 Michail Vourlakos 2020-03-31 09:54:10 UTC
(In reply to Mufeed Ali from comment #2)
> (In reply to Michail Vourlakos from comment #1)
> > KWin wayland has no interface to position mouse appropriately
> 
> So, for now, this will remain impossible. Should I close this?

you dont have to, we can leave it open as a request for kwin
Comment 4 David Edmundson 2024-02-21 14:03:14 UTC
This appears to work as described now based on triggering a move from the task bar