<?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>82408</bug_id>
          
          <creation_ts>2012-03-27 18:35:39 -0700</creation_ts>
          <short_desc>[chromium] Send wheel events to main thread even if we think nothing is scrollable</short_desc>
          <delta_ts>2012-03-27 21:27:39 -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>New Bugs</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></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="James Robinson">jamesr</assigned_to>
          <cc>enne</cc>
    
    <cc>nduca</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>589547</commentid>
    <comment_count>0</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-03-27 18:35:39 -0700</bug_when>
    <thetext>[chromium] Send wheel events to main thread even if we think nothing is scrollable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589548</commentid>
    <comment_count>1</comment_count>
      <attachid>134192</attachid>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-03-27 18:36:12 -0700</bug_when>
    <thetext>Created attachment 134192
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589550</commentid>
    <comment_count>2</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-03-27 18:37:29 -0700</bug_when>
    <thetext>This is a conservative fix for http://code.google.com/p/chromium/issues/detail?id=119984, see http://code.google.com/p/chromium/issues/detail?id=119984#c17, and meant as a quick fix.  The behavior with DidNotHandle is never worse than if we didn&apos;t have the thread, since without the thread these events would have gone to the main thread anyway.

We don&apos;t have webkit_unit_test coverage for wheel handling (which is another bug that should be fixed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589578</commentid>
    <comment_count>3</comment_count>
      <attachid>134192</attachid>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-03-27 19:03:13 -0700</bug_when>
    <thetext>Comment on attachment 134192
Patch

R=me.  This seems quite reasonable as a short-term fix.  Sending the event to the main thread that we think won&apos;t get handled isn&apos;t going to hurt anything.

Could this happen if we get input before we finish the first commit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589641</commentid>
    <comment_count>4</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-03-27 21:22:23 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 134192 [details])
&gt; R=me.  This seems quite reasonable as a short-term fix.  Sending the event to the main thread that we think won&apos;t get handled isn&apos;t going to hurt anything.
&gt; 
&gt; Could this happen if we get input before we finish the first commit?

I&apos;m not entirely sure. From the trace on the crbug there were many many frames of ScrollIgnored, not just a one-off.

I think what I&apos;ll do is add a bit of state tracking locally to compare the compositor thread results to the main thread results for each input event and see if I can repro, then backtrack from there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589643</commentid>
    <comment_count>5</comment_count>
      <attachid>134192</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-03-27 21:27:35 -0700</bug_when>
    <thetext>Comment on attachment 134192
Patch

Clearing flags on attachment: 134192

Committed r112363: &lt;http://trac.webkit.org/changeset/112363&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589644</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-03-27 21:27:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>134192</attachid>
            <date>2012-03-27 18:36:12 -0700</date>
            <delta_ts>2012-03-27 21:27:34 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-82408-20120327183611.patch</filename>
            <type>text/plain</type>
            <size>1727</size>
            <attacher name="James Robinson">jamesr</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTEyMzUwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L2No
cm9taXVtL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvY2hyb21pdW0vQ2hhbmdlTG9nCmluZGV4
IGZmZjM2YzdlMWJhZDJlNjE1NjMzZThhMjAxNTVjYjUwMDU5ZDdkMDkuLmI1NTEwZTAxYzQ0NWY3
ZTlmZDRjZmY5MGFiYmVhZjNmZWUxODc0Y2QgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQvY2hy
b21pdW0vQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XZWJLaXQvY2hyb21pdW0vQ2hhbmdlTG9nCkBA
IC0xLDMgKzEsMTMgQEAKKzIwMTItMDMtMjcgIEphbWVzIFJvYmluc29uICA8amFtZXNyQGNocm9t
aXVtLm9yZz4KKworICAgICAgICBbY2hyb21pdW1dIFNlbmQgd2hlZWwgZXZlbnRzIHRvIG1haW4g
dGhyZWFkIGV2ZW4gaWYgd2UgdGhpbmsgbm90aGluZyBpcyBzY3JvbGxhYmxlCisgICAgICAgIGh0
dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD04MjQwOAorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogc3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lbnQ7CisgICAgICAgICAgICAv
LyBGSVhNRTogVGhpcyBzaG91bGQgYmUgRHJvcEV2ZW50LCBidXQgaW4gY2FzZXMgd2hlcmUgd2Ug
ZmFpbCB0byBwcm9wZXJseSBzeW5jIHNjcm9sbGFiaWxpdHkgaXQncyBzYWZlciB0byBzZW5kIHRo
ZQorICAgICAgICAgICAgLy8gZXZlbnQgdG8gdGhlIG1haW4gdGhyZWFkLiBDaGFuZ2UgYmFjayB0
byBEcm9wRXZlbnQgb25jZSB3ZSBoYXZlIHN5bmNocm9uaXphdGlvbiBidWdzIHNvcnRlZCBvdXQu
CisgICAgICAgICAgICByZXR1cm4gRGlkTm90SGFuZGxlOyAKICAgICAgICAgY2FzZSBDQ0lucHV0
SGFuZGxlckNsaWVudDo6U2Nyb2xsRmFpbGVkOgogICAgICAgICAgICAgcmV0dXJuIERpZE5vdEhh
bmRsZTsKICAgICAgICAgfQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>