Bug 421927

Summary: [wayland] - support snapping with _GTK_FRAME_EXTENTS
Product: [Unmaintained] lattedock Reporter: Michail Vourlakos <mvourlakos>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michail Vourlakos 2020-05-22 18:30:11 UTC
SUMMARY
In X11 Latte is now using _GRK_FRAME_EXTENTS in order to make the window manager happy and provide that way beautiful snapping and proper window placement during their creation.

A wayland solution must be implemented in order for this to be possible at: https://invent.kde.org/plasma/latte-dock/-/blob/master/app/wm/waylandinterface.cpp#L455
Comment 1 Vlad Zahorodnii 2020-10-31 20:20:14 UTC
On Wayland, the support for client-side decorated clients is provided out of the box by the window geometry. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/stable/xdg-shell/xdg-shell.xml#L490

The problem is that Qt currently doesn't provide applications any way to change it.
Comment 2 Vlad Zahorodnii 2020-10-31 20:26:33 UTC
However, it probably doesn't matter since we want to move away from the plasma shell (and the xdg-shell) to the layer shell protocol.
Comment 3 Vlad Zahorodnii 2020-10-31 20:26:52 UTC
from the plasma shell (and the xdg-shell) protocol*