After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 706418 - HeaderBars don't have a bottom border
HeaderBars don't have a bottom border
Status: RESOLVED FIXED
Product: gnome-themes-standard
Classification: Core
Component: Adwaita GTK3 theme
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-themes-standard-maint
gnome-themes-standard-maint
3.10
Depends on: 706592
Blocks:
 
 
Reported: 2013-08-20 16:23 UTC by Allan Day
Modified: 2013-08-23 11:51 UTC
See Also:
GNOME target: ---
GNOME version: 3.9/3.10


Attachments
one example of many (150.59 KB, image/png)
2013-08-20 16:23 UTC, Allan Day
  Details
csd: don't override border and box shadow for titlebars (1.19 KB, patch)
2013-08-22 15:26 UTC, Cosimo Cecchi
committed Details | Review
csd: don't draw a border for automatic CSD titles added by GTK (1.10 KB, patch)
2013-08-22 15:27 UTC, Cosimo Cecchi
committed Details | Review

Description Allan Day 2013-08-20 16:23:38 UTC
Created attachment 252448 [details]
one example of many

A lot of apps have been ported to use HeaderBars for 3.10. None of them have a visible bottom border though.
Comment 1 Allan Day 2013-08-20 16:35:30 UTC
Seems that reverting this commit fixes the issue:

https://git.gnome.org/browse/gnome-themes-standard/commit/?id=7283721c8cfe19ab9a26288758ecf364a56f01fe
Comment 2 Allan Day 2013-08-20 16:58:56 UTC
Seems like the commit was done to remove bottom borders on titlebars under CSD.
Comment 3 Paolo Borelli 2013-08-21 14:32:22 UTC
Maybe we should add the border only on GtkHeaderBar.titlebar and not on all .titlebars
Comment 4 Cosimo Cecchi 2013-08-22 15:26:56 UTC
Created attachment 252768 [details] [review]
csd: don't override border and box shadow for titlebars

Since .titlebar is added by default to all the widgets used as titles
for a toplevel, we can't override the border image or the box shadow as,
for instance, headerbars want to render those.
A following commit will remove the borders explicitly in case the client
side decoration is the default one added automatically by GTK.
Comment 5 Cosimo Cecchi 2013-08-22 15:27:00 UTC
Created attachment 252769 [details] [review]
csd: don't draw a border for automatic CSD titles added by GTK

For those we want to be consistent with the mutter theme we have
nowadays, so use the extra style class to distinguish that case, and
remove any border there.
Comment 6 Allan Day 2013-08-22 18:09:49 UTC
Works for me in the HeaderBar case. Have been unable to test for CSD and titlebar though.
Comment 7 Jakub Steiner 2013-08-23 11:51:18 UTC
Attachment 252768 [details] pushed as 7acd518 - csd: don't override border and box shadow for titlebars
Attachment 252769 [details] pushed as 99f550f - csd: don't draw a border for automatic CSD titles added by GTK