<?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>106502</bug_id>
          
          <creation_ts>2013-01-09 16:39:53 -0800</creation_ts>
          <short_desc>Don&apos;t drop to huge tile mode if we&apos;re only slow-scrolling because of a page overlay</short_desc>
          <delta_ts>2013-01-09 16:52:00 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Tim Horton">thorton</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>bdakin</cc>
    
    <cc>eric</cc>
    
    <cc>ojan.autocc</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>803817</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-01-09 16:39:53 -0800</bug_when>
    <thetext>We only use the MainThreadScrollingReason &quot;ForcedOnMainThread&quot; if we install a page overlay (didInstallPageOverlay), which clients can do arbitrarily.

We probably should still use tile-sized tiles in this case (this will also prevent us from falling into gigantic tiles for WebKit2 find-in-page, among other things).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>803818</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-01-09 16:40:17 -0800</bug_when>
    <thetext>And the web inspector.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>803822</commentid>
    <comment_count>2</comment_count>
      <attachid>182012</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-01-09 16:42:06 -0800</bug_when>
    <thetext>Created attachment 182012
no giant tiles</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>803825</commentid>
    <comment_count>3</comment_count>
      <attachid>182012</attachid>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2013-01-09 16:45:57 -0800</bug_when>
    <thetext>Comment on attachment 182012
no giant tiles

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

&gt; Source/WebCore/rendering/RenderLayerBacking.cpp:204
&gt; -            if (scrollingCoordinator-&gt;shouldUpdateScrollLayerPositionOnMainThread())
&gt; +            if (scrollingCoordinator-&gt;mainThreadScrollingReasons() &amp; ~ScrollingCoordinator::ForcedOnMainThread)

I think you should explain what this does with a comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>803828</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-01-09 16:46:43 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 182012 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=182012&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/rendering/RenderLayerBacking.cpp:204
&gt; &gt; -            if (scrollingCoordinator-&gt;shouldUpdateScrollLayerPositionOnMainThread())
&gt; &gt; +            if (scrollingCoordinator-&gt;mainThreadScrollingReasons() &amp; ~ScrollingCoordinator::ForcedOnMainThread)
&gt; 
&gt; I think you should explain what this does with a comment.

okiedokie.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>803833</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-01-09 16:51:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/12959143&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>803834</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-01-09 16:52:00 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/139258</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>182012</attachid>
            <date>2013-01-09 16:42:06 -0800</date>
            <delta_ts>2013-01-09 16:45:57 -0800</delta_ts>
            <desc>no giant tiles</desc>
            <filename>no-giant-tiles.diff</filename>
            <type>text/plain</type>
            <size>1817</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCBmOGUzMTA0Li5lZDE5ZGJmIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMjAg
QEAKKzIwMTMtMDEtMDkgIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hvcnRvbkBhcHBsZS5jb20+CisK
KyAgICAgICAgRG9uJ3QgZHJvcCB0byBodWdlIHRpbGUgbW9kZSBpZiB3ZSdyZSBvbmx5IHNsb3ct
c2Nyb2xsaW5nIGJlY2F1c2Ugb2YgYSBwYWdlIG92ZXJsYXkKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEwNjUwMgorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFdlIG9ubHkgdXNlIHRoZSBNYWluVGhyZWFkU2Ny
b2xsaW5nUmVhc29uICJGb3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ZXJMYXllckJhY2tpbmcuY3BwCkBAIC0yMDEsNyArMjAxLDcgQEAgdm9pZCBSZW5k
ZXJMYXllckJhY2tpbmc6OmFkanVzdFRpbGVDYWNoZUNvdmVyYWdlKCkKICAgICAgICAgICAgIHRp
bGVDb3ZlcmFnZSB8PSBUaWxlZEJhY2tpbmc6OkNvdmVyYWdlRm9yVmVydGljYWxTY3JvbGxpbmc7
CiAKICAgICAgICAgaWYgKFNjcm9sbGluZ0Nvb3JkaW5hdG9yKiBzY3JvbGxpbmdDb29yZGluYXRv
ciA9IGZyYW1lLT5wYWdlKCktPnNjcm9sbGluZ0Nvb3JkaW5hdG9yKCkpIHsKLSAgICAgICAgICAg
IGlmIChzY3JvbGxpbmdDb29yZGluYXRvci0+c2hvdWxkVXBkYXRlU2Nyb2xsTGF5ZXJQb3NpdGlv
bk9uTWFpblRocmVhZCgpKQorICAgICAgICAgICAgaWYgKHNjcm9sbGluZ0Nvb3JkaW5hdG9yLT5t
YWluVGhyZWFkU2Nyb2xsaW5nUmVhc29ucygpICYgflNjcm9sbGluZ0Nvb3JkaW5hdG9yOjpGb3Jj
ZWRPbk1haW5UaHJlYWQpCiAgICAgICAgICAgICAgICAgdGlsZUNvdmVyYWdlIHw9IFRpbGVkQmFj
a2luZzo6Q292ZXJhZ2VGb3JTbG93U2Nyb2xsaW5nOwogICAgICAgICB9CiAgICAgfQo=
</data>
<flag name="review"
          id="199858"
          type_id="1"
          status="+"
          setter="simon.fraser"
    />
          </attachment>
      

    </bug>

</bugzilla>