Bug 7716

Summary: /etc/gtk/gtkrc get tooltips wrong
Product: [Retired] Red Hat Linux Reporter: lp.brais
Component: gtk+Assignee: Owen Taylor <otaylor>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-04 16:19:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description lp.brais 1999-12-09 23:46:40 UTC
The file /etc/gtk/gtkrc, bundled in the SRPM for gtk+, causes GTK tooltips
to be incorrectly displayed in some cases.

It would be best if a suitable foreground color (such as black) would be
assigned along with the background

  bg[NORMAL] = "#ffffc0"

present in this file.  The problem occurs if fg[NORMAL] is redefined for a
broader subset of widgets to some very light color (such as white) in the
per-user gtkrc file.  The end result is then white on light yellow, which
is unreadable.

This is also a problem in updated gtk+-1.2.6-1 from the 6.1 errata.

Comment 1 Owen Taylor 2000-02-04 16:19:59 UTC
I've now set bg[NORMAL] to black in the current package. I'm
not completely happy with this fix, since it

 a) tooltips will be black/yellow in all cases
 b) tooltips with pixmap backgrounds may not display properly

But it is about as good as can be done easily. (The right approach
is possibly to have a "default" theme, which read only if
another theme isn't read.)