<?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>53274</bug_id>
          
          <creation_ts>2011-01-27 17:43:01 -0800</creation_ts>
          <short_desc>WebKit2: Page flashes just before accelerated compositing animation</short_desc>
          <delta_ts>2011-01-28 11:49:12 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.apple.com/startpage</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="Chris Marrin">cmarrin</reporter>
          <assigned_to name="Chris Marrin">cmarrin</assigned_to>
          <cc>andersca</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>341178</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-01-27 17:43:01 -0800</bug_when>
    <thetext>When you reload this page in a WebKit2 window, the page will flash to white after to top button bar finishes it&apos;s roll down  animation

The problem is that after that animation, the page switches out of compositing mode momentarily and the change in renderers causes a flash

When switching out of compositing mode, the new ChunkedUpdateDrawingAreaProxy is getting created with the current page size. When the setSize() call is subsequently made, the sizeDidChange() call is not made (which does the initial render of the page) because the old size and new size are the same. The solution is to skip the setting of the size in the ctor and let it go  through a size change sequence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341179</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-01-27 17:43:22 -0800</bug_when>
    <thetext>rdar://problem/8711567</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341191</commentid>
    <comment_count>2</comment_count>
      <attachid>80389</attachid>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-01-27 17:52:03 -0800</bug_when>
    <thetext>Created attachment 80389
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341497</commentid>
    <comment_count>3</comment_count>
      <attachid>80389</attachid>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2011-01-28 10:11:35 -0800</bug_when>
    <thetext>Comment on attachment 80389
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=80389&amp;action=review

&gt; Source/WebKit2/ChangeLog:12
&gt; +        is to skip the setting of the size in the ctor and let it go  through a size 

Extra space.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341584</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2011-01-28 11:49:12 -0800</bug_when>
    <thetext>Committed r76962: &lt;http://trac.webkit.org/changeset/76962&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>80389</attachid>
            <date>2011-01-27 17:52:03 -0800</date>
            <delta_ts>2011-01-28 10:11:35 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-53274-20110127175203.patch</filename>
            <type>text/plain</type>
            <size>1583</size>
            <attacher name="Chris Marrin">cmarrin</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKH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VByb3h5LmNwcDoKKyAgICAgICAgKFdlYktpdDo6RHJhd2luZ0FyZWFQ
cm94eTo6RHJhd2luZ0FyZWFQcm94eSk6CisKIDIwMTEtMDEtMjcgIE5hdGUgQ2hhcGluICA8amFw
aGV0QGNocm9taXVtLm9yZz4KIAogICAgICAgICBSZXZpZXdlZCBieSBBZGFtIEJhcnRoLgpJbmRl
eDogU291cmNlL1dlYktpdDIvVUlQcm9jZXNzL0RyYXdpbmdBcmVhUHJveHkuY3BwCj09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0KLS0tIFNvdXJjZS9XZWJLaXQyL1VJUHJvY2Vzcy9EcmF3aW5nQXJlYVByb3h5LmNwcAkocmV2
aXNpb24gNzY4NzUpCisrKyBTb3VyY2UvV2ViS2l0Mi9VSVByb2Nlc3MvRHJhd2luZ0FyZWFQcm94
eS5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTM0LDcgKzM0LDYgQEAgbmFtZXNwYWNlIFdlYktpdCB7
CiBEcmF3aW5nQXJlYVByb3h5OjpEcmF3aW5nQXJlYVByb3h5KERyYXdpbmdBcmVhSW5mbzo6VHlw
ZSB0eXBlLCBXZWJQYWdlUHJveHkqIHdlYlBhZ2VQcm94eSkKICAgICA6IG1faW5mbyh0eXBlLCBu
ZXh0SWRlbnRpZmllcigpKQogICAgICwgbV93ZWJQYWdlUHJveHkod2ViUGFnZVByb3h5KQotICAg
ICwgbV9zaXplKHdlYlBhZ2VQcm94eS0+dmlld1NpemUoKSkKIHsKIH0KIAo=
</data>
<flag name="review"
          id="71867"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>