GNOME Bugzilla – Bug 765885
client side decoration, no space to add header bar
Last modified: 2017-09-09 22:23:46 UTC
Created attachment 327118 [details] screenshot of missing space when client side decoration has been clicked Using glade nightly from xdg-app, when i click the client side decorations for a window previously you would get a space to insert your headerbar or widget this no long seems to show. expecting a space when i click client side decorations so i can insert a headerbar, currently all i can do is insert the header bar in a grid but the window bar still shows.
This warning explains whats going on: (glade:18337): Gtk-WARNING **: gtk_window_set_titlebar() called on a realized window
well it kind of explains why, but surely i should be able to add the headerbar in glade, even if glade has realized the window, you used to be able todo it. This is before i have written any of my own code.
(In reply to Matthias Clasen from comment #1) > This warning explains whats going on: > > (glade:18337): Gtk-WARNING **: gtk_window_set_titlebar() called on a > realized window FWIW, I'm pretty sure that that warning has been there since we originally landed the CSD option.
Seems dialogs still work, if i add a dialog or assistant widget and click client side decorations I have a space for the header bar. Its only windows and application windows that the space is missing to insert the headerbar.
same error for me (glade version : 3.20.0) the Gtk warning appears for Window & Dialog, but I can set headerbar on dialog
This bug has been here since 3.18 released, but I haven't gotten around to reporting it. It's even worse if you open a glade file that contains a headerbar on a window because it will just display a blank window. At one time it did work, at least it did with 3.16.
Fixed in master and glade-3-20 The problem was that at some point we added a call to gtk_window_set_decorated (false) to avoid windows decorations in the workspace on wayland So I fixed it by always adding a placeholder as the titlebar and hiding it if not necessary!
Great work, updated the glade xdg app and its now fixed and i can move the headerbar to the correct place :)
Juan, could you please backport this to 3.20? I'm running F25 with Glade 3.20.0 and still have this bug.
Created attachment 346826 [details] Screenshot with examples which demonstrate the bug Hello! I just have both compiled the latest commit from the master branch and applied the commit 7b0aa0166486e5c85973960ebb54f31790754ffc as a patch over Glade 3.20.0, and none of them seem to have fixed the problem. The attached screenshot shows my trunk build (from commit ffc16cedffd3681708e645479e9473d4ca89accb on master) failing to show up either a placeholder space or an inserted GtkHeaderBar on the CSD display area. Do you know why is this, or how could it be debugged? Thank you in advance!
Can a 3.20.1 release be made to make this fix available? Unless Fancisco's comment means there's still some issue with the fix itself?
In nightly it works for the most part, otherwise Glade seems deprecated, since there are a lot of issues and no one works on these. :/