Bug 272985 - Colorschemes is not applied to gtk programs
Summary: Colorschemes is not applied to gtk programs
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_colors (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Matthew Woehlke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 23:14 UTC by Thomas Damgaard
Modified: 2015-08-21 03:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Damgaard 2011-05-10 23:14:57 UTC
Version:           4.6 (using KDE 4.6.2) 
OS:                Linux

I have made a custom colorscheme in KDE by going to System settings > Common Appearance... > Application Apearance > Colors.
It is a nice and dark scheme that is comfortable to look at.
I have made most backgrounds dark and text colors bright.
The problem, however, is that when I use non-KDE programs the colors does not work right.

One extremely annoying bug is that appearently, color is not applied to text color in menus, however, it IS applied to background in menus.  Thus, text in menus in non-KDE programs such as Firefox, Dia, Wireshark, etc. becomes unreadable: it is black on a dark background. It should be bright on a dark background as defined in the colorscheme.

Allow me to illustrate with screendumps:

gtk program with black text in menus:
http://i.imgur.com/f5nVn.png

This is how it ought to look:
KDE program with white text in menus:
http://i.imgur.com/FeV4d.png


Here is my settings:

color settings:
http://i.imgur.com/2nBH5.png


GTK+ appearance settings:
http://i.imgur.com/x169M.png


Reproducible: Always

Steps to Reproduce:
1: Create a color scheme with dark background colors and light foreground text colors.
2: Select the color scheme
3: Go to GTK+ Appearance in system settings and select Use my KDE fonts in GTK appilcations as well as widget style: QtCurve
4: Start a KDE program like Kate and look in the menus.
5: Start a GTK program like Firefox and look in the menus.



Actual Results:  
Text in menus in KDE program is readable and white on black as expected.
Text in menus in GTK program, however, is unreadable and black on black.

Expected Results:  
GTK program should be colored as the KDE program.
Comment 1 Christoph Feck 2011-05-12 00:32:23 UTC
I am not sure if the bug is in KDE (while writing the color settings), or in QtCurve (while reading the color settings). Asking Craig.
Comment 2 Halla Rempt 2012-11-03 14:43:26 UTC
Maybe the problem I'm seeing in krita is related. Krita has the same per-app theming support as Digikam has. You can select a dark theme -- maybe artists want a dark art app, but a bring browser -- but in the gtk style, the results are strange: menubar and toolbar aren't styled.
Comment 3 Jeremy Whiting 2015-08-21 03:05:05 UTC
GTK 3 dropped support for color schemes altogether. If this issue is happening with a gtk2 application please reopen this bug and mention which application and I'll take a closer look at what's possibly going wrong with the gtkrc-2.0 files we are writing out.