Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24928 - '*-CRITICAL' type errors with missing icons in gtk+

Attached to Project: Arch Linux
Opened by Baeyens (berbae) - Tuesday, 28 June 2011, 15:01 GMT
Last edited by Ionut Biru (wonder) - Saturday, 30 July 2011, 09:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package gtk2 2.24.5-2

gtk2 outputs these errors when it encounters a missing icon name :

(thunderbird-bin:1985): Gtk-WARNING **: Error loading theme icon 'gtk-unindent-ltr' for stock: L'icône « gtk-unindent-ltr » n'est pas présente dans le thème

(thunderbird-bin:1985): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (thunderbird-bin:1985): CRITICAL **: renderIcon: assertion `base_pixbuf != NULL' failed

(thunderbird-bin:1985): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed

(thunderbird-bin:1985): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(thunderbird-bin:1985): Gtk-WARNING **: Error loading theme icon 'gtk-unindent-rtl' for stock: L'icône « gtk-unindent-rtl » n'est pas présente dans le thème

(thunderbird-bin:1985): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (thunderbird-bin:1985): CRITICAL **: renderIcon: assertion `base_pixbuf != NULL' failed

(thunderbird-bin:1985): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed

Here it appears with thunderbird but it occurs with other gtk+ applications.

This is a known bug which has been signaled upstream already:
https://bugzilla.gnome.org/show_bug.cgi?id=629878

Erik van Pienbroek wrote a patch to correct the errors when a missing icon name is used.
I tested it and the CRITICAL errors vanish.

The patch has been sent to the gtk+ devs, but not yet included in the source.

Maybe the bug could be already corrected in the Arch package with these changes in PKGBUILD :

--- PKGBUILD 2011-06-28 06:05:19.000000000 +0200
+++ PKGBUILD.new 2011-06-28 15:56:47.000000000 +0200
@@ -13,14 +13,17 @@
license=('LGPL')
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${pkgver}.tar.xz
xid-collision-debug.patch
+ correct-missing-icon-name.patch
gdk_Make_background_changes_queue_a_repaint.patch)
sha256sums=('d6b30889efbb9fab9aa598092d08887826a7b2a3069b3bd5155dede28d9866f3'
'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
+ '985341fbccf60ce1aa51f827f94ae622c7f11761344a97f1d3c00b353c008ece'
'3573af25e8db2fb490b264f80cb9e617ee1a36e767e36e7bb1d830c0b715db93')

build() {
cd "${srcdir}/gtk+-${pkgver}"
patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
+ patch -Np0 -i "${srcdir}/correct-missing-icon-name.patch"
patch -NRp1 -i "${srcdir}/gdk_Make_background_changes_queue_a_repaint.patch"

CXX=/bin/false ./configure --prefix=/usr \




This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 30 July 2011, 09:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  thunderbird 5
Comment by Ionut Biru (wonder) - Tuesday, 28 June 2011, 16:28 GMT
the icon bug should be fixed in thunderbird 5. I won't add that patch to gtk2 because is a bug in thunderbird
Comment by Baeyens (berbae) - Tuesday, 28 June 2011, 19:51 GMT
Yes there is a bug in thunderbird which doesn't use the correct icon name.
But there is also a bug in gtk+ in the manner it reacts when a nonexistent icon name is used by any gtk+ application.
And the Erik van Pienbroek's patch correct that in gtk+ : see his comment #21 https://bugzilla.gnome.org/show_bug.cgi?id=629878#c21

So it can be useful to use that patch, waiting for the gtk+ devs to include it in a future release.
Comment by Ionut Biru (wonder) - Friday, 22 July 2011, 20:40 GMT
how is it now with thunderbird 5?

Loading...