<?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>58632</bug_id>
          
          <creation_ts>2011-04-14 22:28:24 -0700</creation_ts>
          <short_desc>REGRESSION(75137): directly composited images are double-drawn sometimes</short_desc>
          <delta_ts>2011-04-25 17:29:38 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://trac.webkit.org/export/83947/trunk/LayoutTests/compositing/direct-image-compositing.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James Robinson">jamesr</reporter>
          <assigned_to name="Chris Marrin">cmarrin</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>vangelis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>386383</commentid>
    <comment_count>0</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-04-14 22:28:24 -0700</bug_when>
    <thetext>Load http://trac.webkit.org/export/83947/trunk/LayoutTests/compositing/direct-image-compositing.html in a WebKit nightly or chromium.  The first, third, and last images render incorrectly until the window is resized - it appears that the image is composited on top of itself and so the semitranslucent parts of the image look too dark.  Forcing a repaint of the root window (by resizing the window or whatnot) seems to fix it.

I can&apos;t reproduce in Safari 5.0.4, so guessing that this regressed at some point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386385</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-04-14 22:35:27 -0700</bug_when>
    <thetext>Would be good to know when this regressed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386386</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-04-14 22:35:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/9289398&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386393</commentid>
    <comment_count>3</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-04-14 22:52:11 -0700</bug_when>
    <thetext>bisect-builds says http://trac.webkit.org/log/trunk/?rev=75294&amp;stop_rev=74229 - sadly large range.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386410</commentid>
    <comment_count>4</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-04-14 23:36:57 -0700</bug_when>
    <thetext>Tighter range (using chromium continuous builds): http://trac.webkit.org/log/trunk/?rev=75164&amp;stop_rev=74761.  Perhaps http://trac.webkit.org/changeset/75137 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386639</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-04-15 08:30:51 -0700</bug_when>
    <thetext>That&apos;s possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386743</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-04-15 10:51:19 -0700</bug_when>
    <thetext>I narrowed this down to between r75123 and r75154.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386896</commentid>
    <comment_count>7</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-04-15 13:56:47 -0700</bug_when>
    <thetext>Confirmed that reverting 75137 locally fixes the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391936</commentid>
    <comment_count>8</comment_count>
      <attachid>90959</attachid>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-04-25 15:31:33 -0700</bug_when>
    <thetext>Created attachment 90959
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391962</commentid>
    <comment_count>9</comment_count>
      <attachid>90959</attachid>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-04-25 15:45:37 -0700</bug_when>
    <thetext>Comment on attachment 90959
Patch

It should be possible to construct a pixel test for this, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392054</commentid>
    <comment_count>10</comment_count>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-04-25 16:26:25 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; (From update of attachment 90959 [details])
&gt; It should be possible to construct a pixel test for this, right?

You&apos;d think. I tried and failed. Running in DRT doesn&apos;t show the error. I assume that&apos;s because DRT does funny rendering tricks to get a consistently sized window, which must change the ordering and avoid tickling the bug. Of course that might make my claim that https://bugs.webkit.org/show_bug.cgi?id=59352 would allow us to test this logic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392156</commentid>
    <comment_count>11</comment_count>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-04-25 17:24:58 -0700</bug_when>
    <thetext>Committed r84856: &lt;http://trac.webkit.org/changeset/84856&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392158</commentid>
    <comment_count>12</comment_count>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-04-25 17:29:38 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; (From update of attachment 90959 [details] [details])
&gt; &gt; It should be possible to construct a pixel test for this, right?
&gt; 
&gt; You&apos;d think. I tried and failed. Running in DRT doesn&apos;t show the error. I assume that&apos;s because DRT does funny rendering tricks to get a consistently sized window, which must change the ordering and avoid tickling the bug. Of course that might make my claim that https://bugs.webkit.org/show_bug.cgi?id=59352 would allow us to test this logic.

(to finish that sentence)

That would make my claim that ... would allow us to test this logic suspect. There may be no practical way to do a good test for this bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>90959</attachid>
            <date>2011-04-25 15:31:33 -0700</date>
            <delta_ts>2011-04-25 15:45:37 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-58632-20110425153133.patch</filename>
            <type>text/plain</type>
            <size>1959</size>
            <attacher name="Chris Marrin">cmarrin</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDg0ODA0KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMjUgQEAKKzIwMTEtMDQtMjUgIENocmlzIE1h
cnJpbiAgPGNtYXJyaW5AYXBwbGUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAo
T09QUyEpLgorCisgICAgICAgIFJFR1JFU1NJT04oNzUxMzcpOiBkaXJlY3RseSBjb21wb3NpdGVk
IGltYWdlcyBhcmUgZG91YmxlLWRyYXduIHNvbWV0aW1lcworICAgICAgICBodHRwczovL2J1Z3Mu
d2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NTg2MzIKKworICAgICAgICBEZXBlbmRpbmcgb24g
dGhlIG9yZGVyIG9mIG9wZXJhdGlvbnMgKGxheW91dCwgY3JlYXRpbmcgY29tcG9zaXRpbmcgCisg
ICAgICAgIGxheWVycyBhbmQgY3JlYXRpbmcgc2ltcGxlIGltYWdlIGxheWVycykgYSB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09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291cmNlL1dl
YkNvcmUvcmVuZGVyaW5nL1JlbmRlckxheWVyQmFja2luZy5jcHAJKHJldmlzaW9uIDg0NDMzKQor
KysgU291cmNlL1dlYkNvcmUvcmVuZGVyaW5nL1JlbmRlckxheWVyQmFja2luZy5jcHAJKHdvcmtp
bmcgY29weSkKQEAgLTk2Nyw2ICs5NjcsNyBAQCB2b2lkIFJlbmRlckxheWVyQmFja2luZzo6dXBk
YXRlSW1hZ2VDb250CiAKICAgICAvLyBUaGlzIGlzIGEgbm8tb3AgaWYgdGhlIGxheWVyIGRvZXNu
J3QgaGF2ZSBhbiBpbm5lciBsYXllciBmb3IgdGhlIGltYWdlLgogICAgIG1fZ3JhcGhpY3NMYXll
ci0+c2V0Q29udGVudHNUb0ltYWdlKGltYWdlKTsKKyAgICB1cGRhdGVEcmF3c0NvbnRlbnQoKTsK
ICAgICAKICAgICAvLyBJbWFnZSBhbmltYXRpb24gaXMgImxhenkiLCBpbiB0aGF0IGl0IGF1dG9t
YXRpY2FsbHkgc3RvcHMgdW5sZXNzIHNvbWVvbmUgaXMgZHJhd2luZwogICAgIC8vIHRoZSBpbWFn
ZS4gU28gd2UgaGF2ZSB0byBraWNrIHRoZSBhbmltYXRpb24gZWFjaCB0aW1lOyB0aGlzIGhhcyB0
aGUgZG93bnNpZGUgdGhhdCB0aGUK
</data>
<flag name="review"
          id="83730"
          type_id="1"
          status="+"
          setter="simon.fraser"
    />
          </attachment>
      

    </bug>

</bugzilla>