Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Gtk apps cannot open svg icons after system update.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ivan_D
n00b
n00b


Joined: 26 Nov 2007
Posts: 52
Location: Odessa, Ukraine

PostPosted: Sun Oct 18, 2009 10:56 am    Post subject: [solved] Gtk apps cannot open svg icons after system update. Reply with quote

I've done a system update (I'm on ~amd64 if it matters). From what I remember, xorg-server and libxcb (I also did what's written in here http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml) were the main big targets. After I finished the update and fixed configs, gtk apps (firefox, gthumb, pcmanfm) can't open icons for "open file", "print" and some other menu items (screenshots below). I digged it a little and found that all images that failed to be opened were in svg format.

I have use flag svg publicly enabled. Cairo (iiuc this is the lib that is used to draw things in gtk) is compiled (and recompiled) with it. Plus I recompiled glib and installed libsvg (even if it is not needed by any dependency). Didn't help. And revdep-rebuild finds nothing wrong.

Now I'm in doubt about what to do to fix it. Please help.

Here are the screenshots and error messages:

http://img26.imageshack.us/img26/2683/94209742.png
Quote:
(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-add' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-close' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-directory' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-home' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-open' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-close' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-save-as' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-print-preview' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-print' for stock: Unrecognized image file format

(firefox:16581): Gtk-WARNING **: Error loading theme icon 'gtk-quit' for stock: Unrecognized image file format



http://img21.imageshack.us/img21/2637/gthy.png
Quote:
(gthumb:8224): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:8224): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-find' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-file' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-find' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-file' for stock: Unrecognized image file format

(gthumb:8224): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-close' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-directory' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-fullscreen' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-find' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-close' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-save' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-zoom-in' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-zoom-out' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-zoom-100' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-properties' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-go-up' for stock: Unrecognized image file format

(gthumb:8224): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:8224): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: Unrecognized image file format

(gthumb:8224): Gtk-WARNING **: Error loading theme icon 'gtk-fullscreen' for stock: Unrecognized image file format


Last edited by Ivan_D on Sun Oct 18, 2009 11:41 am; edited 2 times in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1734
Location: 127.0.0.1

PostPosted: Sun Oct 18, 2009 11:17 am    Post subject: Reply with quote

In the upgrade process you probably missed to read something about x11-misc/shared-mime-info.
Back to top
View user's profile Send private message
Ivan_D
n00b
n00b


Joined: 26 Nov 2007
Posts: 52
Location: Odessa, Ukraine

PostPosted: Sun Oct 18, 2009 11:40 am    Post subject: Reply with quote

netfab wrote:
In the upgrade process you probably missed to read something about x11-misc/shared-mime-info.
oh, my bad.
Code:
$ update-mime-database ~/.local/share/mime/

Fixed the problem, thank you. Now everything is fine as it was before.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum