<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>441018</bug_id>
          
          <creation_ts>2021-08-15 21:25:07 +0000</creation_ts>
          <short_desc>Can&apos;t preview ARW (Sony&apos;s RAW format) Jpeg preview anymore</short_desc>
          <delta_ts>2021-09-05 12:30:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>gwenview</product>
          <component>general</component>
          <version>21.08.0</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>441698</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Lapineige">lp.kde</reporter>
          <assigned_to name="Gwenview Bugs">gwenview-bugs-null</assigned_to>
          <cc>nachricht</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2053466</commentid>
    <comment_count>0</comment_count>
    <who name="Lapineige">lp.kde</who>
    <bug_when>2021-08-15 21:25:07 +0000</bug_when>
    <thetext>SUMMARY
Since the last (backports) update, I can&apos;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
&quot;File loading failed&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053467</commentid>
    <comment_count>1</comment_count>
    <who name="Lapineige">lp.kde</who>
    <bug_when>2021-08-15 21:32:43 +0000</bug_when>
    <thetext>Thumbnails in Gwenview &quot;folder view&quot;/&quot;grid&quot; mode works.

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

&gt; gwenview.libtiff: Error MissingRequired &quot;TIFF directory is missing required \&quot;ImageLength\&quot; field&quot;
org.kde.kdegraphics.gwenview.lib: QImageReader::read() using format hint &quot;tif&quot; failed: &quot;Erreur inconnue&quot;
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 &quot;tiff&quot; not &quot;tif&quot;
gwenview.libtiff: Error MissingRequired &quot;TIFF directory is missing required \&quot;ImageLength\&quot; field&quot;
gwenview.libtiff: Error MissingRequired &quot;TIFF directory is missing required \&quot;ImageLength\&quot; field&quot;
gwenview.libtiff: Error MissingRequired &quot;TIFF directory is missing required \&quot;ImageLength\&quot; field&quot;
org.kde.kdegraphics.gwenview.lib: QImageReader::read() using format hint &quot;tif&quot; failed: &quot;Erreur inconnue&quot;
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 &quot;tiff&quot; not &quot;tif&quot;
gwenview.libtiff: Error MissingRequired &quot;TIFF directory is missing required \&quot;ImageLength\&quot; field&quot;


Any chance that &quot;format error&quot; (?) is related to https://bugs.kde.org/show_bug.cgi?id=439519 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053608</commentid>
    <comment_count>2</comment_count>
    <who name="Lapineige">lp.kde</who>
    <bug_when>2021-08-16 14:37:05 +0000</bug_when>
    <thetext>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&apos;t know if there a common base between Gwenview and GStreamer (library used ?), but just in case, I&apos;m referencing it here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058691</commentid>
    <comment_count>3</comment_count>
    <who name="Lapineige">lp.kde</who>
    <bug_when>2021-09-04 11:51:15 +0000</bug_when>
    <thetext>*** Bug 441664 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058693</commentid>
    <comment_count>4</comment_count>
    <who name="Lapineige">lp.kde</who>
    <bug_when>2021-09-04 11:57:47 +0000</bug_when>
    <thetext>As said here https://bugs.kde.org/show_bug.cgi?id=441664#c1 :

&gt; 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…</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058872</commentid>
    <comment_count>5</comment_count>
    <who name="Lapineige">lp.kde</who>
    <bug_when>2021-09-05 12:30:10 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 441698 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>