This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Missing GTK icons and problems with background in Chromium

Tags: None
(comma "," separated)
timss
Registered Member
Posts
5
Karma
0
Hi,

I'm running Debian testing with KDE 4.11.3. After an update I'm experiencing some problems with GTK applications, missing icons (also inside applications) and a weird red background in Chromium. Not sure if it's related, but I'm running QtCurve 1.8.14. Choosing Oxygen themes/icons for KDE and Clearlooks/Gnome icon for GTK didn't help.

Missing icon (note how it works in the taskbar)
http://i.imgur.com/SyGRKeq.gif

Red/faulty background in Chromium
http://i.imgur.com/3FtWEku.jpg

What could possibly be the reason for this, and how would I go about fixing it?

Sorry if this is not the correct category to post this topic. Please move/redirect it to the correct one if needed.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Is anything relevant output to the terminal by these Gtk applications which might explain the rendering problems?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
timss
Registered Member
Posts
5
Karma
0
Sorry, went home to my family for christmas and couldn't look further into this before now.
There is indeed a lot of errors from GTK applications, and it seems to not be related to KDE at all (but I can't be sure yet).

Code: Select all
$ aptitude search png | grep -iE "^i"
i A libpng12-0                      - PNG library - runtime                     
i A libpng12-0:i386                 - PNG library - runtime

$ nvidia-settings
...
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/32x32/status/dialog-information.png'
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/status/dialog-information.png'
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/actions/help-contents.png'
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/actions/help-contents.png'
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/actions/application-exit.png'
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/actions/application-exit.png'
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/actions/dialog-cancel.png'
(nvidia-settings:22663): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/actions/dialog-cancel.png'
^C


Additionally I get an error when trying to open/save a .png in GIMP, even though it still works.

Code: Select all
Gimp error message:
Image type 'png' is not supported


Running terminator (the terminal in the .gif in my first post):

Code: Select all
$ terminator
...
/usr/share/terminator/terminatorlib/window.py:384: GtkWarning: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons//oxygen/16x16/mimetypes/unknown.png' self.present()


Seeing as it works just fine for KDE I'd guess it's something about GTK, possibly cache related. Tried to Google a lot, but all threads I find just end in reinstallation, giving up or way outdated. If anyone has any idea or know where I should take a further look it'd be much appriciated even though I recognize it might be a far stretch to find help with GTK on the KDE forums.
luebking
Karma
0
png moved to a loader module?

gdk-pixbuf-query-loaders | grep LoaderDir

-> there are the loader plugins, is there sth. png related (or anything at all?)

-> try (as root and anyway)
gdk-pixbuf-query-loaders --update-cache
timss
Registered Member
Posts
5
Karma
0
luebking wrote:png moved to a loader module?

gdk-pixbuf-query-loaders | grep LoaderDir

-> there are the loader plugins, is there sth. png related (or anything at all?)

-> try (as root and anyway)
gdk-pixbuf-query-loaders --update-cache

I'm not sure what've happened (any idea?), but using gdk-pixbuf-query-loaders solved the issue. Many thanks!

Code: Select all
$ /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders | grep LoaderDir
# LoaderDir = /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders

$ ls -l /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
total 332K
-rw-r--r-- 1 root root 11K 21.02.13 23:12 io-wmf.so
-rw-r--r-- 1 root root 19K 08.12.13 18:06 libpixbufloader-ani.so
-rw-r--r-- 1 root root 19K 08.12.13 18:06 libpixbufloader-bmp.so
-rw-r--r-- 1 root root 27K 08.12.13 18:06 libpixbufloader-gif.so
-rw-r--r-- 1 root root 11K 08.12.13 18:06 libpixbufloader-icns.so
-rw-r--r-- 1 root root 19K 08.12.13 18:06 libpixbufloader-ico.so
-rw-r--r-- 1 root root 11K 08.12.13 18:06 libpixbufloader-jasper.so
-rw-r--r-- 1 root root 23K 08.12.13 18:06 libpixbufloader-jpeg.so
-rw-r--r-- 1 root root 15K 08.12.13 18:06 libpixbufloader-pcx.so
-rw-r--r-- 1 root root 23K 08.12.13 18:06 libpixbufloader-png.so
-rw-r--r-- 1 root root 15K 08.12.13 18:06 libpixbufloader-pnm.so
-rw-r--r-- 1 root root 15K 08.12.13 18:06 libpixbufloader-qtif.so
-rw-r--r-- 1 root root 11K 08.12.13 18:06 libpixbufloader-ras.so
-rw-r--r-- 1 root root 11K 21.10.13 14:00 libpixbufloader-svg.so
-rw-r--r-- 1 root root 15K 08.12.13 18:06 libpixbufloader-tga.so
-rw-r--r-- 1 root root 15K 08.12.13 18:06 libpixbufloader-tiff.so
-rw-r--r-- 1 root root 11K 08.12.13 18:06 libpixbufloader-wbmp.so
-rw-r--r-- 1 root root 15K 08.12.13 18:06 libpixbufloader-xbm.so
-rw-r--r-- 1 root root 27K 08.12.13 18:06 libpixbufloader-xpm.so

$ sudo /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache

$ nvidia-settings
^C # works
luebking
Karma
0
The png (and apparently xpm) used to be compiled in, your distro changed that to plugins and apparently forgot or failed to update the cache.
Might be just a timestamp issue (ie. your cache had a stamp ahead of the system time at the update) - or debian has now a problem =)
timss
Registered Member
Posts
5
Karma
0
Alright thanks for the explaination. I tried asking in #debian @ freenode but didn't seem to that anyone had experienced this behaviour before. Small things like these are to be expected when running the testing branch I guess. Thanks again!
User avatar
google01103
Manager
Posts
6668
Karma
25
is this with an existing user? if so try as a newly created one


OpenSuse Leap 42.1 x64, Plasma 5.x

luebking
Karma
0
the gdk-pixbuf loader cache is system wide.
timss
Registered Member
Posts
5
Karma
0
google01103 wrote:is this with an existing user? if so try as a newly created one

It was with an existing user yes, but now that I've fixed it I can't tell if making a new one would fix it.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
All users would have been affected by this change - as the cache is system wide.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
kamathraghavendra
Registered Member
Posts
234
Karma
4
OS
@ luebking

Thank you, this solved the similar problem I had. thank you




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]