Bug 16562

Summary: Gwenview does not display images
Product: Mageia Reporter: Jüri Ivask <jyri2000>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jquelin, piscestong
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: gwenview-15.07.90-1.mga6.src.rpm CVE:
Status comment:

Description Jüri Ivask 2015-08-10 11:16:59 CEST
Description of problem:Plasma 5 DE default image viewer does not display images


Version-Release number of selected component (if applicable):15.07.90


How reproducible:every time


Steps to Reproduce:
1.In dolphin file manages select an image file (jpeg or png or etc) and double-klick it (assuming that gwenview is default image viewer) or right-klick and select: Open with gwenview
2.Gwenview displays an error message: "Loading âimage.jpgâ failed
Gwenview cannot display documents of type image/jpeg.
3.When launched from the CLI:
$ LANG=C gwenview image.jpg
kf5.kservice.sycoca: Trying to open ksycoca from "/home/myusername/.cache/ksycoca5"
KServiceTypeTrader: serviceType "QImageIOPlugins" not found
cannot find .rc file "org.kde.gwenviewui.rc" for component "org.kde.gwenview"
org.kde.kactivities.lib.core: Creating ResourceInstance: empty for now

Also when Gwenview is used as a file browser, it does not display files, only directories...

Reproducible: 

Steps to Reproduce:
Comment 1 Jerome Quelin 2015-08-14 16:01:35 CEST
confirmed. note that avi files appear normally - which is coherent with the '"QImageIOPlugins" not found' message.

CC: (none) => jquelin

Comment 2 Jin-tong Hu 2015-08-15 07:38:28 CEST
I encountered the same problem some weeks ago. But after recent updates of Cauldron and my manual installation of some packages, the problem has disappeared. Maybe there are some dependent packages missing?

CC: (none) => piscestong

Comment 3 Jüri Ivask 2015-08-15 09:47:46 CEST
It seems, that the corresponding *.desktop files for images are just missing.
There are neither jpg.desktop, png.desktop etc files in /usr/share/kservices5 directory nor qimageioplugins directory with these files there...
Maybe yes some packaging problem...
Comment 4 Jüri Ivask 2015-08-16 13:29:57 CEST
So the directory qimageioplugins with all images *.desktop files etc is provided by the kf5 kdelibs4support package - just install it and gwenview starts to display images. For additional image types (eps, psd xfc etc) kimageformats package is required.

So I guess kdelibs4support package should be a dependency for gwenview...
Comment 5 Nicolas Lécureuil 2015-08-16 18:09:00 CEST
fixed in new gwenview.
Please test.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 6 Jüri Ivask 2015-08-16 18:35:59 CEST
1. urpme kdelibs4support
2. urpmi --no-recommends --auto-update
    http://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/i586/media/core/release/media_info/20150816-161548-synthesis.hdlist.cz
updated medium "Core Release"                                                                             
medium "Nonfree Release" is up-to-date
medium "Tainted Release" is up-to-date
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  gwenview                       15.07.90     3.mga6        i586    
  kdelibs4support                5.13.0       1.mga6        i586    
  libgwenviewlib4                15.07.90     3.mga6        i586        
12MB of additional disk space will be used.
3MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n)

So kdelibs4support is pulled in with gwenview and gwenview is now displaying images OK. Thanks for the fix!