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

Gwenview cannot display documents of type image/jpeg

Tags: None
(comma "," separated)
elek76
Registered Member
Posts
10
Karma
0
OS
Could not find anything in the straces so I started to look at the gwenview source code.

I found that mimeTypeKind function returns KIND_FILE because the rasterImageMimeTypes list is empty.
For the root user the list is properly populated with mime types, that's why the images are displayed for root.

I'll continue with investigating the KImageIO::mimeTypes(KImageIO::Reading) call - but only tomorrow, as I have to do some actual work, too...
In the meantime, if anyone has some ideas, please share.
elek76
Registered Member
Posts
10
Karma
0
OS
Got it :)

Solution:

Code: Select all
su -c 'chmod 755 /usr/share/kde4/services/qimageioplugins'
kbuildsycoca4 --noincremental


Eventually I figured that in the KServiceTypeTrader::query("QImageIOPlugins") call the service type had no profile so I started to look for qimageio stuff.

For some reason during an update the directory must have become 700 so ordinary users could not load the info about the qimageioplugins.

Thanks to all for the suggestions!
User avatar
rubo77
Registered Member
Posts
36
Karma
0
OS
I had the same problem on Ubuntu (with Kubuntu installed first, but changed to just Ubutu later)

solved the problem by installing the package libkf5service-bin:

apt-get install libkf5service-bin


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell