Saturday, January 11, 2014

Workaround for Highlighted Text Problems in GNOME Apps when Using Custom GTK Theme

A zonColor theme user reported: 'When i select any zoncolor theme i can't read text when i selected it in evince pdf reader'.


After some investigations, I found that this is a known bug of some GNOME apps like Evince, Evolution, and maybe other too (see https://bugzilla.gnome.org/show_bug.cgi?id=682435), so it will affects other GTK themes that do not include "new standard" in GTK theme color definition.

Those apps look for "the new standard" theme_selected_bg_color, theme_selected_fg_color, etc., instead of the standard, long time used "selected_bg_color", "selected_fg_color", etc (notice the difference, later ones are without "theme_"). This causing any theme that does not use "theme_*" color definitions in its css files will have problems with those apps.
Google+ Comments Disqus Comments
Disqus Comments Google+ Comments
comments powered by Disqus