Bug 440260 - Gwenview fails to open hdr file
Summary: Gwenview fails to open hdr file
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-25 12:43 UTC by Evstifeev Roman
Modified: 2025-08-25 15:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
hdr image (1.54 MB, image/x-hdr)
2021-07-25 12:43 UTC, Evstifeev Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evstifeev Roman 2021-07-25 12:43:22 UTC
Created attachment 140324 [details]
hdr image

SUMMARY
Gwenview fails to open .hdr file, even with kimageformats installed.


STEPS TO REPRODUCE
1. Download attached file kloofendal_38d_partly_cloudy_1k.hdr
2. Open the attached file with gwenview

OBSERVED RESULT
Gwenview shows error: "Loading meta information failed."

EXPECTED RESULT
Gwenview should display image.

SOFTWARE/OS VERSIONS
kimageformats 5.84.0
Operating System: openSUSE Tumbleweed 20210723
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.2-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 4600H with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
Image can be successfully displayed with Okular.
File thumbnail can be successfully generated and displayed in gwenview or dolphin file browser.

May be related: when I right-click the file in dolphin, and choose "properties", on general tab I see
 Type: HDR image
 Contents: MPSub subtitles
The wrong contents type resolution may be related to this gwenview issue?
Comment 1 Tony 2021-07-28 20:50:00 UTC
From Gwenview : Gwenview cannot display documents of type text/x-mpsub.

Running it from terminal and also registered in journalctl -ex : 

org.kde.kdegraphics.gwenview.lib: Unresolved mime type  "image/x-hdr"
org.kde.kdegraphics.gwenview.lib: Unresolved mime type  "image/x-mng"
org.kde.kdegraphics.gwenview.lib: Unresolved mime type  "image/x-pic"
org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type  "image/x-nikon-nrw"
org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type  "image/x-samsung-srw"

So is not reading correctly the mime type.
Comment 2 Tony 2021-08-29 12:33:57 UTC
Okular opens the file ok, althought that may be irrelevant to this issue.
Comment 3 A Linux User 2025-08-19 16:22:39 UTC
Seems to be fixed, I could load the example hdr file just fine in Gwenview.