Bug 499044

Summary: Gwenview incorrectly handles orientation of HEIF files
Product: [Applications] gwenview Reporter: Dmitry Nezhevenko <dion>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: john.kizer
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dmitry Nezhevenko 2025-01-23 09:33:26 UTC
SUMMARY

This particular picture is displayed incorrectly in Gwenview. It's upside down

Same thing as here: https://github.com/immich-app/immich/issues/8355

I'm not sure that this is actually digikam issue. Dolphin preview is also upside down, but digikam (8.5.0) displays it correctly

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dmitry Nezhevenko 2025-01-23 09:34:28 UTC
Sorry. Picture is slightly bigger than 4MB. 
Direct link: https://github.com/immich-app/immich/files/14805766/IMG_3925.HEIC.zip
Comment 2 Dmitry Nezhevenko 2025-01-23 09:35:35 UTC
Gwenview: 24.12.0
KDE Frameworks: 6.10.0
Qt: Using 6.7.2 and built against 6.7.2
Debian GNU/Linux trixie/sid (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.12.9-amd64
Comment 3 John Kizer 2025-01-27 20:08:31 UTC
Hi - thanks for the bug report! I can reproduce on Fedora KDE 41, Gwenview 24.12.1.

I'm not sure if this is further upstream - there is a Qt bug related to this topic, https://bugreports.qt.io/browse/QTBUG-121496 , but I don't know if it's applicable here.