GNOME Bugzilla – Bug 725345
dialogs: always use CSD on dialogs
Last modified: 2014-03-03 20:00:52 UTC
One of the advantages of this is so that the styling of the dialog is completely within one theme framework. This prevents skew between the theming expectations from the window manager and GTK+.
Created attachment 270507 [details] [review] dialogs: always use CSD on dialogs If we aren't using a header bar then put a fake titlebar box on it so we can round the corners. One of the advantages of this is so that the styling of the dialog is completely within one theme framework. This prevents skew between the theming expectations from the window manager and GTK+.
I've tested this and it seems like a big improvement. It helps with the issues described in bug 723668.
Could you post a before/after screenshot?
Created attachment 270771 [details] before and after screenshots Before is on top and after is below. Note that I seem to be suffering from an odd theme bug - the before image shouldn't look quite like that (see bug 723668). I still feel that there's something not quite right with this; it could be something to do with the vertical spacing around the text.
Created attachment 270776 [details] before 1
Created attachment 270777 [details] before 2
Created attachment 270778 [details] after 1
Created attachment 270779 [details] after 2
Created attachment 270811 [details] modified screenshot I spoke to Jakub about the spacing of the text earlier today, and he suggested increasing the vertical padding above the heading. I've tried this out by modifying a screenshot, and the result is attached. The top image shows the current state, which has been modified in the bottom image - here the spacing between the two lines of text has been very slightly reduced, and additional padding has been added above the heading. Jakub thinks this is an improvement, and I agree. That said, the original patch is already better than the state in master, so I'd be happy with landing it as is.
Going with Jon's patch as-is for now. We can always iterate Attachment 270507 [details] pushed as 322f6c7 - dialogs: always use CSD on dialogs