GNOME Bugzilla – Bug 670018
State modifications are inherited for fg, but not bg
Last modified: 2014-11-07 22:37:10 UTC
Created attachment 207496 [details] test program Hello! A recent update of GTK+ seems to have changed how style modifications are inherited. The fg property is now inherited, but the bg is not. The fg being inherited at all is a new change. I don't know if that was intentional or not, but regardless, both should be either inherited together or not at all. I'm using version 3.3.14-0ubuntu1 in Ubuntu 12.04. The attached vala program demonstrates the behavior. valac --pkg=gtk+-3.0 eventbox.vala ./eventbox
How does it look for you, and how do you expect it to look ? For me, I see two labels with white-on-blue text, which doesn't seem unexpected to me. This is obviously theme-dependent.
Ah, right you are. It looks as I would expect in Adwaita. I didn't think it would be theme dependent because the change happened with a GTK+ update. I'll file a bug against Ambiance.
It seems there is really a problem, see that bug : https://bugzilla.redhat.com/show_bug.cgi?id=818575
I'd like to re-open this for consideration, as it is reported in many themes. In Debian [1] and Fedora [2] at least. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671479 [2] https://bugzilla.redhat.com/show_bug.cgi?id=818575
We are following the css model as closely as we can, nowadays. Css doesn't have a concept of foreground/background pairs, but instead it has a foreground color, and background is more general - images, animations, etc... So, I don't think there is anything concrete to fix here.