Bug#444998: Unreadable white-on-white text

Trent W. Buck trentbuck at gmail.com
Tue Oct 2 15:06:31 UTC 2007


Package: yelp
Version: 2.18.1-1
Severity: normal

Due to bug #443927, yelp shows the XML source of help documents.  The
text appears as unreadable white-on-white, presumably because it uses
my .gtkrc-2.0 settings for the foreground but hard-codes white for the
background.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages yelp depends on:
ii  docbook-xml             4.5-5            standard XML documentation system,
ii  gconf2                  2.20.0-1         GNOME configuration database syste
ii  gnome-doc-utils         0.12.0-1         a collection of documentation util
ii  libbz2-1.0              1.0.3-7          high-quality block-sorting file co
ii  libc6                   2.6.1-5          GNU C Library: Shared libraries
ii  libdbus-glib-1-2        0.74-1           simple interprocess messaging syst
ii  libgcc1                 1:4.2.1-5        GCC support library
ii  libgconf2-4             2.20.0-1         GNOME configuration database syste
ii  libglade2-0             1:2.6.2-1        library to load .glade files at ru
ii  libglib2.0-0            2.14.1-4         The GLib library of C routines
ii  libgnome2-0             2.20.0-1         The GNOME 2 library - runtime file
ii  libgnomeui-0            2.20.0-1         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0          1:2.20.0-1       GNOME Virtual File System (runtime
ii  libgtk2.0-0             2.12.0-2         The GTK+ graphical user interface 
ii  libpango1.0-0           1.18.2-1         Layout and rendering of internatio
ii  libstartup-notification 0.9-1            library for program launch feedbac
ii  libstdc++6              4.2.1-5          The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxml2                 2.6.30.dfsg-2    GNOME XML library
ii  libxslt1.1              1.1.22-1         XSLT processing library - runtime 
ii  libxul0d                1.8.1.6-1        Gecko engine library
ii  xml-core                0.11             XML infrastructure and XML catalog
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

Versions of packages yelp recommends:
ii  ttf-dejavu                    2.19-1     Vera font family derivate with add

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yelp.png
Type: image/png
Size: 62837 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20071003/1b605962/attachment-0001.png 
-------------- next part --------------
#### -*- conf -*-
#### http://library.gnome.org/devel/gtk/unstable/GtkSettings.html
#### Engine settings in /usr/share/gtk-engines/*.xml

gtk-cursor-theme-name = "DMZ-Black"
gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ
gtk-scrolled-window-placement = GTK_CORNER_TOP_RIGHT
gtk-enable-animations = 0
## Broken: can't close windows (steals C-w) and only implements the
## most superficial Emacs behavious anyway -- not even C-SPC!
# gtk-key-theme-name = "Emacs"
## Broken: forces the use of HC pngs for some icons.
# gtk-theme-name = "HighContrastInverse"
gtk-icon-theme-name = "HighContrast-SVG"

## Gtk-color-scheme exists so that you can customize a theme's color
## scheme without understanding the intricacies of the theme itself.
## If you set gtk-color-scheme in gnome-settings-daemon, this works.
## Just setting it and gtk-theme-name in this file DOES NOT work,
## because symbolic references are resolved at parse time -- that is,
## they only work within the file in which they occur, not in included
## files or gtk-theme-name files.
##
## What to do?  You can 1) run gnome-settings-daemon; 2) copy the
## theme you want into ~/.themes/twb and change the ONE LINE that sets
## gtk-color-scheme, then set gtk-theme-name to "twb".  I have done a
## variant of latter, copy-and-pasting a stripped-down theme in below.
gtk-color-scheme = "fg_color: white
bg_color: black
text_color: white
base_color: black
selected_fg_color: white
selected_bg_color: grey20
tooltip_fg_color: white
tooltip_bg_color: black"

## Symbolic names were introduced in 2.10, so on older hosts you'll
## see default colors and get a parse error warning on stderr.
## Similarly, if libindustrial.so isn't available, you'll get the
## default engine, Raleigh.
##
## Note that I'm using the old Industrial and High Contrast engines.
## That's because none of the other engines seem able to cope with a
## completely black background -- you end up with a fantastically
## useless amount of black-on-black borders and checkboxes.
style "twb" {
  engine "hcengine" { edge_thickness = 1 }
  engine "industrial" { contrast = 0.5 }
  base[INSENSITIVE] = @base_color
  bg[INSENSITIVE]   = @bg_color
  fg[INSENSITIVE]   = @fg_color
  text[INSENSITIVE] = @text_color
  base[NORMAL]      = @base_color
  bg[NORMAL]        = @bg_color
  fg[NORMAL]        = @fg_color
  text[NORMAL]      = @text_color
  base[ACTIVE]      = @base_color
  bg[ACTIVE]        = @bg_color
  fg[ACTIVE]        = @fg_color
  text[ACTIVE]      = @text_color
  base[SELECTED]    = @selected_bg_color
  bg[SELECTED]      = @selected_bg_color
  fg[SELECTED]      = @selected_fg_color
  text[SELECTED]    = @selected_fg_color
  base[PRELIGHT]    = @selected_bg_color
  bg[PRELIGHT]      = @selected_bg_color
  fg[PRELIGHT]      = @selected_fg_color
  text[PRELIGHT]    = @selected_fg_color
}
widget_class "*" style "twb"


More information about the pkg-gnome-maintainers mailing list