On kwin_wayland, non-CSD GTK3 applications started with GDK_BACKEND=wayland *always* request CSD when they shouldn't
Submitted by Kyle De'Vir
Link to original bug (#792889)
Description
With the added support for GTK3 applications to prefer server-side decorations when detecting that they're running on KWin on Wayland, the expected behaviour is that they should be using server-side decorations, as per this commit and related, resolved bug report:
https://github.com/GNOME/gtk/commit/1b279e3d4ac33ebd9a3925d1a388c28bd96232d5
https://bugzilla.gnome.org/show_bug.cgi?id=781909
However, the detection doesn't seem to be working.
On the KDE side, I've made a bug report here:
https://bugs.kde.org/show_bug.cgi?id=389361
According to the feedback from Martin, and my own subsequent testing, GTK3 applications are always asking for CSD, suggesting they're not seeing KWin being used as the Wayland environment.
Version: 3.22.x