This bug was fixed in the package gtk+2.0 - 2.24.5-0ubuntu1
---------------
gtk+2.0 (2.24.5-0ubuntu1) oneiric; urgency=low
* New upstream version
* 010_make_bg_changes_queue_repaint: dropped, the fix is in the new version
* include_m4_dir.patch: include the m4 directory from the previous version,
it's not shipped with the new tarball but required for the autoreconf run
-- Sebastien Bacher <email address hidden> Thu, 16 Jun 2011 11:11:24
+0200
** Changed in: gtk+2.0 (Ubuntu)
Status: Fix Committed => Fix Released
** Description changed:
- Copy-paste from upstream bug:
- -*-*-*-*-*-
- When parsing gtkrc files, 'shade(0.5, "#color")' is not parsed in a locale
- neutral way. In locales where a ',' is used to separate floating point numbers
- instead of '.', parsing just fails on shade() directives. Attached is a
minimal
- repro case, which produces the following output depending on the locale:
-
- ---
- $ gcc gtk_gdk_parsing.c `pkg-config --cflags --libs gtk+-2.0`
- $ LC_NUMERIC=C ./a.out
- Parsed color: #101010101010
- $ LC_NUMERIC=ru_RU.utf8 ./a.out
- Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve
- property `GtkWidget::link-color' of type `GdkColor' from rc file value
- "((GString*) 0x54c620)" of type `GString'
-
- (a.out:17856): Gdk-CRITICAL **: gdk_color_to_string: assertion `color != NULL'
- failed
- Parsed color: (null)
- -*-*-*-*-*-
-
- This causes Chromium to not displaying the theme-specific tabs decoration on
Ubuntu and Xubuntu.
- 2 patches are available in upstream report.
+ Test case:
+ 1. Launch Chromium in Xubuntu;
+ 2. Set locale to ru_RU.utf-8;
+ 3. Check if Chromium picks theme colours from Greybird and displays no
warnings in output.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libgtk2.0-0 2.24.4-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu Apr 28 20:03:49 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
ProcEnviron:
- LANGUAGE=ru_RU:en
- LANG=ru_RU.UTF-8
- SHELL=/bin/bash
+ LANGUAGE=ru_RU:en
+ LANG=ru_RU.UTF-8
+ SHELL=/bin/bash
SourcePackage: gtk+2.0
UpgradeStatus: Upgraded to natty on 2011-04-11 (17 days ago)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/772492
Title:
[patch] gtkrc does not handle "shade()" in a locale safe manor
To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/772492/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs