After enabling the script "Enforces Window Decorations on GTK+ window", I would expect that the KDE window decorations are painted around a GTK3 window. Unfortunately, GTK3 windows are still painted without the window decoration. Therefore it is also not possible to use the window features which are provided by KWin (e.g. Always On Top). Reproducible: Always Steps to Reproduce: 1. Enable the KWin script "Enforces Window Decorations on GTK+ window" 2. Start a GTK3 application Actual Results: The application start without any window decoration. Expected Results: The application should start with a window decoration.
please attach the outputs of "xprop" and "xwininfo" on such window and also record your gtk3 version
Created attachment 93925 [details] Output of xprop
Created attachment 93926 [details] Output of xwininfo
The gtk version is 3.16.6
There's no _GTK_FRAME_EXTENTS @Martin I recall http://kwin.kde.narkive.com/lXfptMeL/gtk3-double-decorations but somehow also that they had reverted that change, yesno?
I'm not aware of any changes on GTK side on that. On the one hand it's good if they don't add _GTK_FRAME_EXTENTS any more given that non-Mutter WMs cannot handle that hint. On the other side this makes it impossible for us to provide the required integration for GTK windows in Plasma. @Markus: Could you please raise a bug on the GTK bug tracker that it's not possible to disable the CSD on non-GNOME environments?
I filed a new bug report: https://bugzilla.gnome.org/show_bug.cgi?id=753445
Gtk wants it announced in _NET_SUPPORTED, but we do not support this at all (and will then likely get the client side shadows) They suggest to check for a gtk client by interpreting the gtk properties (like _GTK_APPLICATION_ID) but that doesn't cut it, because a gtk(2) client may be validly undecorated (eg. audacious/xmms) Stupid question: even with the script working, you simply got 2 titlebars, right? (gtk3 does not turn off their CSD, for if they would, the absence of _GTK_FRAME_EXTENTS in _NET_SUPPORTED would be a perfect opportunity)
Yes, I got 2 titlebars before, but I was able to control the window behavior (Always on top, etc.). Besides the visual integration, at least such usability features should be available. The usage of the Activities is also broken. GTK3 windows are always visible on each Activity. I think this is also related to the missing window decoration or am I wrong? As far as I understand, the best solution would be if they give the possibility to disable the CSD right? If this is the case, maybe someone of you can join the discussion with the GTK developers in their bug tracker, because I am really not in the topic. :)
> As far as I understand, the best solution would be if they give the possibility to disable the CSD right? yes > If this is the case, maybe someone of you can join the discussion with the GTK developers in their bug tracker, because I am really not in the topic. :) GNOME/GTK developers are aware of the fact that we would like this to be changed. Unfortunately I don't think there is any point in me or Thomas commenting further on their bug tracker about it. I have a feeling that our points are not considered as we are seen as people who just oppose the idea of CSD and are not forward oriented. I rather think that only users can at this point show that this needs changing. In the worst case by using the feet and switching to non-GTK applications.
*** Bug 352960 has been marked as a duplicate of this bug. ***
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
We added support for client-side decorations in kwin.