Bug 441018 - Can't preview ARW (Sony's RAW format) Jpeg preview anymore
Summary: Can't preview ARW (Sony's RAW format) Jpeg preview anymore
Status: RESOLVED DUPLICATE of bug 441698
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 21.08.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 441664 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-15 21:25 UTC by Lapineige
Modified: 2021-09-05 12:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lapineige 2021-08-15 21:25:07 UTC
SUMMARY
Since the last (backports) update, I can't open ARW file in Gwenview anymore.
Other RAW format works (tested CR2 / RW2), the internal Jpeg preview is shown, but not ARW.
It was working right before that.

The only other software I found to have the same kind of error is https://gitlab.gnome.org/YaLTeR/identity.

STEPS TO REPRODUCE
1. Open an .ARW file with Gwenview

OBSERVED RESULT
"File loading failed" error message

EXPECTED RESULT
Internal image Jpeg preview is shown.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 21.04
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85
Qt Version: 5.15.2
Comment 1 Lapineige 2021-08-15 21:32:43 UTC
Thumbnails in Gwenview "folder view"/"grid" mode works.

Here is the console log when I try to open one .ARW file:

> gwenview.libtiff: Error MissingRequired "TIFF directory is missing required \"ImageLength\" field"
org.kde.kdegraphics.gwenview.lib: QImageReader::read() using format hint "tif" failed: "Erreur inconnue"
org.kde.kdegraphics.gwenview.lib: A bad Qt image decoder moved the buffer to 242 in a call to canRead()! Rewinding.
org.kde.kdegraphics.gwenview.lib: Image format is actually "tiff" not "tif"
gwenview.libtiff: Error MissingRequired "TIFF directory is missing required \"ImageLength\" field"
gwenview.libtiff: Error MissingRequired "TIFF directory is missing required \"ImageLength\" field"
gwenview.libtiff: Error MissingRequired "TIFF directory is missing required \"ImageLength\" field"
org.kde.kdegraphics.gwenview.lib: QImageReader::read() using format hint "tif" failed: "Erreur inconnue"
org.kde.kdegraphics.gwenview.lib: A bad Qt image decoder moved the buffer to 242 in a call to canRead()! Rewinding.
org.kde.kdegraphics.gwenview.lib: Image format is actually "tiff" not "tif"
gwenview.libtiff: Error MissingRequired "TIFF directory is missing required \"ImageLength\" field"


Any chance that "format error" (?) is related to https://bugs.kde.org/show_bug.cgi?id=439519 ?
Comment 2 Lapineige 2021-08-16 14:37:05 UTC
For the record, the other software where I encounter this issue, Identity, is based on GStreamer: https://gitlab.gnome.org/YaLTeR/identity/-/issues/16
I don't know if there a common base between Gwenview and GStreamer (library used ?), but just in case, I'm referencing it here.
Comment 3 Lapineige 2021-09-04 11:51:15 UTC
*** Bug 441664 has been marked as a duplicate of this bug. ***
Comment 4 Lapineige 2021-09-04 11:57:47 UTC
As said here https://bugs.kde.org/show_bug.cgi?id=441664#c1 :

> This is probably some KDE package vs Gwenview issue (maybe Arch related) as Geeqie/showfoto/photoqt are working perfectly fine.

Same for me.

I guess there is a common library that is buggy ?

I can provide ARW file if someone wants to investigate, for my part I have no clue where to search for the source of that issue…
Comment 5 Lapineige 2021-09-05 12:30:10 UTC

*** This bug has been marked as a duplicate of bug 441698 ***