Bug 7716 - /etc/gtk/gtkrc get tooltips wrong
/etc/gtk/gtkrc get tooltips wrong
Product: Red Hat Linux
Classification: Retired
Component: gtk+ (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Owen Taylor
Depends On:
  Show dependency treegraph
Reported: 1999-12-09 18:46 EST by lp.brais
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-04 11:19:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description lp.brais 1999-12-09 18:46:40 EST
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 11:19:59 EST
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.)

Note You need to log in before you can comment on or make changes to this bug.