Updates:
        Status: Available
        Labels: -Type-Bug Type-Feature

Comment #5 on issue 16271 by [email protected]: GTK Theme uses wrong color
http://code.google.com/p/chromium/issues/detail?id=16271

This is more a feature request then a bug.

GTK Themes work by giving a set of colors to the application and a theme  
engine that
actually does the drawing based on the above colors. I'm given a set of
fg/bg/base/text colors in each of the five GTK widget states. There's no  
such thing
as titlebar color--this is a property of your window manager.

In all of the GTK themes installed by default on Ubuntu, the titlebar is  
bg[SELECTED]
with minor tinting by convention. Mirroring this is the closest I can get  
without
additional information. It would be nice if GTK themes carried a titlebar  
color, but
they don't, and dealing with all the window managers is impractical, even  
assuming I
could query a base color. (In metacity, a theme appears to be a set of  
cairo drawing
primitives serialized into XML, so I don't think that's an option.)

One idea that won't happen because it requires the cooperation of everyone  
is to have
a defined color in the gtk_color_scheme part of the gtkrc file, such as the  
already
existing metacity_frame_color from Human. I can see us saying, "Theme  
authors:
specify this color if you want to control the rendering," as a good  
compromise.

(Also, I have no idea where you got the above theme. It's not installed by  
default on
ubuntu and doing an apt-cache search for it shows nothing.)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to