Bug 474928

Summary: Unable to open HEIF/HEIC images when installed via flatpak/snap
Product: [Applications] gwenview Reporter: u5vjzuvrv
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: normal CC: bugs_kde_org
Priority: NOR    
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description u5vjzuvrv 2023-09-27 10:31:47 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
I am able to open HEIF/HEIC images with gwenview when I open it in the distributed by Ubuntu (although, that version seems  to crash whenever opened).  However, when I try and open a HEIF/HEIC image with the version installed via Flatpak, it returns "Loading <image name> failed Gwenview cannot display documents of type image/heif"

If I try and open a HEIF/HEIC image with the version installed via Snap, it returns "Loading <image name> failed"


STEPS TO REPRODUCE
1.  Install Gwenviw from either Snap or Flatpak
2. Open HEIF/HEIF image 


OBSERVED RESULT
Does not display image. If installed via Flatpak, shows the following:
"Loading <image name> 
failed Gwenview cannot display documents of type image/heif"

Or for Snap:
 "Loading <image name> failed"

EXPECTED RESULT
Image should be displayed.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 23.04
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version:  5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I am running what was originally Ubuntu before I installed Kubuntu over it using `sudo apt install kubuntu-desktop`
Comment 1 bugs_kde_org 2024-03-04 19:38:39 UTC
Hi. Could you tell me, what size have your images? I reported similar bug (https://bugs.kde.org/show_bug.cgi?id=482195) and i I think, problem is related to size of file. I talk about that with people from Internet and told me, that HEIF/HEIC images taken by108mpx camera, can't be opened with gwenview.