After some investigation, my conclusion is that both window managers
and changes in gtk+ are involved in the very different looks of
dialog boxes. Gtk+ 3.11.5 introduced the possibility to attach a GtkHeaderBar to a dialog box. A dialog with a headerbar shall not be further decorated with a titlebar by the window manager. Gtk+ asks the window manager not to add any decoration, but some window managers insist, and add their own titlebar anyway. That's seen in the attachment to https://bugzilla.gnome.org/show_bug.cgi?id=727414#c0. Starting with gtk+ 3.11.8, gtk+ adds its own empty titlebar (a GtkBox) to dialogs without a headerbar, and asks the window manager not to add a titlebar to any dialog boxes. There are still window managers that add a titlebar regardless. Gtk+ 3.11.9 adds the title to its own titlebar on dialogs without a headerbar. From now on we get either a duplicated title, as seen in the attachment to https://mail.gnome.org/archives/gtkmm-list/2014-April/msg00003.html, or only GtkDialog's own titlebar, as seen in the attachment to https://mail.gnome.org/archives/gtkmm-list/2014-April/msg00001.html. The title is duplicated if the window manager adds its own titlebar, although GtkDialog also adds a titlebar with a title. If the window manager accepts not to add a titlebar, the result is as in the attachment to msg00001.html. I don't consider it an improvement from earlier versions of gtk+, where only the window manager added a titlebar, but it's obviously a deliberate modification. Gtk+ wants to take the whole responsibility for the look of dialog boxes. Kjell 2014-04-04 19:53, mike lear skrev:
|