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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>201982</bug_id>
          
          <creation_ts>2019-09-19 06:54:37 -0700</creation_ts>
          <short_desc>[GTK][WPE] EXIF orientation tests are failing since added in r249364 - &quot;EXIF orientation should be respected when rendering images&quot;</short_desc>
          <delta_ts>2022-05-09 01:11:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=95299</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>95299</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miguel Gomez">magomez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>dpino</cc>
    
    <cc>lmoura</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mcrha</cc>
    
    <cc>Morningstar</cc>
    
    <cc>sabouhallawa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1572341</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-09-19 06:54:37 -0700</bug_when>
    <thetext>These are the tests failing both for WPE and GTK.

fast/images/exif-orientation-background.html [ ImageOnlyFailure ]
fast/images/exif-orientation-canvas.html [ ImageOnlyFailure ]
fast/images/exif-orientation-composited.html [ ImageOnlyFailure ]
fast/images/exif-orientation-content.html [ ImageOnlyFailure ]
fast/images/exif-orientation-element-object-fit.html [ ImageOnlyFailure ]
fast/images/exif-orientation-element.html [ ImageOnlyFailure ]
fast/images/exif-orientation-image-document.html [ ImageOnlyFailure ]
fast/images/exif-orientation-image-object.html [ ImageOnlyFailure ]
fast/images/exif-orientation-svg-feimage.html [ ImageOnlyFailure ]
fast/images/exif-orientation-svg-image.html [ ImageOnlyFailure ]

These is the output of one of the tests that shows the problem:
https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r250087%20(15371)/fast/images/exif-orientation-element-diffs.html

Seems that we are not calculating the proper width and height for images rotated 90 degrees CW and CCW.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604577</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-01-09 06:22:18 -0800</bug_when>
    <thetext>New EXIF related tests are failing showing the same kind of error message: &quot;EXIF orientation should be respected&quot;. The tests are the following:

Since added in r253610:

* fast/images/exif-orientation-webgl-texture.html

Since added in r254187:

* fast/images/image-orientation-dynamic-from-image.html
* fast/images/image-orientation-dynamic-none.html
* fast/images/image-orientation-none.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1609562</commentid>
    <comment_count>2</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-01-22 08:53:16 -0800</bug_when>
    <thetext>More EXIF orientation related tests are failing since added in r254841:
 
  * fast/images/exif-orientation-background-image-no-repeat.html
  * fast/images/exif-orientation-background-image-repeat.html
  * fast/images/exif-orientation-border-image.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1638450</commentid>
    <comment_count>3</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-04-06 22:02:25 -0700</bug_when>
    <thetext>This is also affecting fast/images/image-orientation-none-canvas.html from bug209849.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1641324</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-04-14 05:03:51 -0700</bug_when>
    <thetext>Passing since r260016 (https://trac.webkit.org/changeset/260050/webkit):

  fast/images/image-orientation-dynamic-none.html
  fast/images/image-orientation-none.html
  fast/images/image-orientation-none-canvas.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1695861</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-10-08 06:03:23 -0700</bug_when>
    <thetext>Lauro fixed most of these (but not all) in bug #95299.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1695863</commentid>
    <comment_count>6</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-10-08 06:07:56 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #5)
&gt; Lauro fixed most of these (but not all) in bug #95299.

Thanks for applying #95299, Michael (did not have time due to other issues). It&apos;s on my table today to update what&apos;s missing from that bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1696117</commentid>
    <comment_count>7</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-10-08 20:17:25 -0700</bug_when>
    <thetext>Remaining issues after bug95299:

fast/images/exif-orientation-background-image-repeat.html
fast/images/exif-orientation-border-image.html

Summary of failures:

fast/images/exif-orientation-background-image-repeat.html

* No orientation applied when:
  * Flipped horizontally
  * Flipped vertically
  * Rotated 180°
  * Rotated 90° CCW
* &quot;Translated&quot; halfway to the left
  * Rotated 90° CW
  * Rotated 90° CCW and flipped vertically
  * Rotated 90° CW and flipped vertically

fast/images/exif-orientation-border-image.html

* Corrupted border:
  * All 90° rotations
* Some sections not transformed
  * Flipped horizontally
  * Flipped vertically
  * Rotated 180°</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849006</commentid>
    <comment_count>8</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-07 15:43:59 -0800</bug_when>
    <thetext>fast/images/exif-orientation-background-image-repeat.html
is still a failure, expectation may need to be set to clear up dashboard until this issue is resolved</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867586</commentid>
    <comment_count>9</comment_count>
    <who name="Milan Crha">mcrha</who>
    <bug_when>2022-05-09 01:10:33 -0700</bug_when>
    <thetext>Downstream bug report using WebKitGTK 2.36.0:
https://gitlab.gnome.org/GNOME/evolution/-/issues/1897

it includes a sample image, if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867587</commentid>
    <comment_count>10</comment_count>
    <who name="Milan Crha">mcrha</who>
    <bug_when>2022-05-09 01:11:21 -0700</bug_when>
    <thetext>I see this is marked as WPE; I&apos;m not sure it&apos;s related for the evolution bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>