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 499727 - Combobox does not use correct text color in combobox and popup menu
Combobox does not use correct text color in combobox and popup menu
Status: RESOLVED DUPLICATE of bug 382646
Product: gtk+
Classification: Platform
Component: Widget: GtkComboBox
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
Depends on:
Reported: 2007-11-26 13:03 UTC by Michael Hofmann
Modified: 2007-11-27 15:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20

Wrong colors only in the combobox (14.75 KB, image/png)
2007-11-26 13:04 UTC, Michael Hofmann
Used colors (7.75 KB, image/png)
2007-11-26 13:04 UTC, Michael Hofmann

Description Michael Hofmann 2007-11-26 13:03:30 UTC
Please describe the problem:
When using black/white as bg/fg and white/black as base/text colors, the combobox is the only widget that uses the text color (black) to display the text on the button and the menu entries. A screenshot is attached.

Steps to reproduce:
1. Go to Setting->Appearance->Customize Theme->Colors
2. Set a dark window background and white foreground
3. Leave white background and black text for input lines 
4. Look and click on a combobox of your choice

Actual results:
dark text on dark background

Expected results:
bright text on dark background

Does this happen every time?

Other information:
I would be thankful for any pointers how the colors in the combobox are determined so I could prepare a patch. I'm a bit hesitant to change anything in a 170k gtkcombobox.c without knowing much about the inner workings.
Comment 1 Michael Hofmann 2007-11-26 13:04:00 UTC
Created attachment 99655 [details]
Wrong colors only in the combobox
Comment 2 Michael Hofmann 2007-11-26 13:04:19 UTC
Created attachment 99656 [details]
Used colors
Comment 3 Michael Hofmann 2007-11-26 13:14:06 UTC
I played around a bit more and the problems seems to be gone when switching from ClearlooksClassic to the new Clearlooks, although the bug also exists (to different degrees) in other themes (Crux, Glossy, Glider, Industrial, Mist).
Comment 4 Michael Hofmann 2007-11-27 15:46:39 UTC

*** This bug has been marked as a duplicate of 382646 ***