Bug 421927 - [wayland] - support snapping with _GTK_FRAME_EXTENTS
Summary: [wayland] - support snapping with _GTK_FRAME_EXTENTS
Status: REPORTED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-22 18:30 UTC by Michail Vourlakos
Modified: 2020-10-31 20:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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*