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 741185 - GtkNotebook Raleigh theme doesn't highlight the active tab
GtkNotebook Raleigh theme doesn't highlight the active tab
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Themes
3.15.x
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-12-05 23:24 UTC by peter
Modified: 2015-07-12 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description peter 2014-12-05 23:24:12 UTC
https://git.gnome.org/browse/gtk+/tree/gtk/theme/Raleigh/gtk-default.css

has

notebook .active-page {
  color: @selected_fg_color;
  background-color: darker (@bg_color);
}

instead of

.notebook tab:active {
    background-color: darker(@bg_color);                                 
}

Adding the correct version to my ~/.config/gtk-3.0/gtk.css makes it look as it should.

 I don't have a git clone locally to make a commit from, or I'd attach one, but I'm not checking out gtk just for a trivial change like this.

 This has been broken since at least 2011, I guess.
http://unix.stackexchange.com/questions/15510/indistinguishable-active-tab-in-gnome-terminal

 The commit introducing the broken section is
https://git.gnome.org/browse/gtk+/commit/gtk/gtk-default.css?id=7cd3e7c81bf82bc51f2891e332575d1fbe3dde4e
 (3 renames ago)

 Apparently it was broken before that commit, since no lines were removed.  I guess the C code used to have different defaults that didn't need theming for that.

 It's been broken on my system for a long time now, I think, but I finally decided to look into it.  I thought it was because of leftover cruft from Ubuntu upgrades, but yeah, turns out it was just how the default theme was.
Comment 1 peter 2014-12-06 01:28:24 UTC
notebook .active-page {
  color: @selected_fg_color;
}

doesn't seem to do anything.  You can set it to green and nothing happens.  Should prob. just take it out, less confusing.