Bug#775943: libgtk2.0-0: Gtk Libraries uses the wrong Colornames

Christian Brabandt cb at 256bit.org
Wed Jan 21 19:16:25 UTC 2015

Package: libgtk2.0-0
Version: 2.24.25-1
Severity: normal

In Gvim, run :hi Green guibg=green.

Afterwards run :hi Green to display the highlighted color. Note, that this is a
rather dark green than a light green, that is expected from the X11 color
names. So apparently, the W3C Colornames are used. Gvim uses the function
gdk_color_parse() to parse the colorname into a color definition. I have
verified using a debugger, that this function returns the wrong color. It
should return 0x00FF00 but instead does 0x008000 which happens to be the W3C
Green definition.

If this is the wrong package to report against, please assign to the correct
package.  Thanks.

(Side note, Athena gvim works correctly).

This has been discussed on the vim ML, starting here:

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0          2.14.0-1
ii  libc6                2.19-13
ii  libcairo2            1.14.0-2.1
ii  libcups2             1.7.5-10
ii  libfontconfig1       2.11.0-6.3
ii  libfreetype6         2.5.2-2
ii  libgdk-pixbuf2.0-0   2.31.1-2+b1
ii  libglib2.0-0         2.42.1-1
ii  libgtk2.0-common     2.24.25-1
ii  libpango-1.0-0       1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3
ii  libpangoft2-1.0-0    1.36.8-3
ii  libx11-6             2:1.6.2-3
ii  libxcomposite1       1:0.4.4-1
ii  libxcursor1          1:1.1.14-1+b1
ii  libxdamage1          1:1.1.4-2+b1
ii  libxext6             2:1.3.3-1
ii  libxfixes3           1:5.0.1-2+b2
ii  libxi6               2:1.7.4-1+b2
ii  libxinerama1         2:1.1.3-1+b1
ii  libxrandr2           2:1.4.2-1+b1
ii  libxrender1          1:0.9.8-1+b1
ii  multiarch-support    2.19-13
ii  shared-mime-info     1.3-1

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme  0.13-1
ii  libgtk2.0-bin       2.24.25-1

Versions of packages libgtk2.0-0 suggests:
ii  gvfs             1.22.2-1
ii  librsvg2-common  2.40.5-1

-- no debconf information

More information about the pkg-gnome-maintainers mailing list