<?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>120542</bug_id>
          
          <creation_ts>2013-08-30 11:43:20 -0700</creation_ts>
          <short_desc>[wk2] REGRESSION (r154673): PDF scrolling moves very slowly</short_desc>
          <delta_ts>2013-09-08 22:18:01 -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>PDF</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.8</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="Matt Arsenault">arsenm2</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>glenn</cc>
    
    <cc>jer.noble</cc>
    
    <cc>penagoscorzo</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>923114</commentid>
    <comment_count>0</comment_count>
      <attachid>210142</attachid>
    <who name="Matt Arsenault">arsenm2</who>
    <bug_when>2013-08-30 11:43:20 -0700</bug_when>
    <thetext>Created attachment 210142
Testcase PDF

This PDF scrolls very slowly. Not graphically slowly, but slow as in it takes a lot of scrolling effort to move forward in the PDF. Scrolling the full height of my trackpad only advances about one line forward of text instead of most of a page like expected. The PDF scrolls normally in Preview.


Link to PDF: http://cs.brown.edu/courses/cs033/docs/x86_cheatsheet.pdf
I will also attach it in case it changes or goes away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923116</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-08-30 11:48:09 -0700</bug_when>
    <thetext>Super bizarre; I can reproduce. Dragging the scroll thumb or autoscrolling (via dragging) work fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923117</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-08-30 11:48:25 -0700</bug_when>
    <thetext>&lt;rdar://problem/14881237&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923143</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-08-30 12:36:01 -0700</bug_when>
    <thetext>Broke in http://trac.webkit.org/changeset/154673; Christophe, might you take a peek?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923265</commentid>
    <comment_count>4</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2013-08-31 01:57:47 -0700</bug_when>
    <thetext>*** Bug 120417 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923266</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-08-31 02:01:35 -0700</bug_when>
    <thetext>I am investigating, sorry about the breakage. Unfortunately, it seems only Mac WK2 supports this PDF plugin so I cannot test / reproduce the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923267</commentid>
    <comment_count>6</comment_count>
      <attachid>210183</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-08-31 02:19:45 -0700</bug_when>
    <thetext>Created attachment 210183
Experiment #1

Looking at my patch, I could find one small behavior change. WheelEvent::deltaX() / WheelEvent::deltaY() used to return a rounded integer and now they return a double value.
I figured this should not be too much of a problem because EventHandler&apos;s scrollNode() takes a floating point value in argument anyway.

This experimental patch attached rounds the value returned by WheelEvent::deltaX() / WheelEvent::deltaY() in EventHandler so that it should behave exactly like before. It would be great if someone could let me know if it has any impact on the PDF scrolling issue (since I don&apos;t run the mac port unfortunately).

I am not sure why this would impact PDF scrolling in WK2 at this point but I wasn&apos;t able to find any other behavior change with my patch yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923301</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-08-31 09:08:37 -0700</bug_when>
    <thetext>Chris, I suspect that this may be more like bug 87557, which had very similar symptoms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926293</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-07 16:10:49 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Created an attachment (id=210183) [details]
&gt; Experiment #1
&gt; 
&gt; Looking at my patch, I could find one small behavior change. WheelEvent::deltaX() / WheelEvent::deltaY() used to return a rounded integer and now they return a double value.
&gt; I figured this should not be too much of a problem because EventHandler&apos;s scrollNode() takes a floating point value in argument anyway.
&gt; 
&gt; This experimental patch attached rounds the value returned by WheelEvent::deltaX() / WheelEvent::deltaY() in EventHandler so that it should behave exactly like before. It would be great if someone could let me know if it has any impact on the PDF scrolling issue (since I don&apos;t run the mac port unfortunately).

This patch does not fix the problem. I have a feeling Alexey&apos;s note is probably more accurate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926296</commentid>
    <comment_count>9</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-07 16:27:47 -0700</bug_when>
    <thetext>FWIW I&apos;m not seeing PDFPlugin::handleWheelEvent get hit *at all* now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926298</commentid>
    <comment_count>10</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-07 16:36:53 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; FWIW I&apos;m not seeing PDFPlugin::handleWheelEvent get hit *at all* now.

The event that&apos;s making it to PluginView is a &quot;wheel&quot; event, not a &quot;mousewheel&quot; event, so it doesn&apos;t get forwarded on to the Plugin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926299</commentid>
    <comment_count>11</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-07 16:39:17 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; FWIW I&apos;m not seeing PDFPlugin::handleWheelEvent get hit *at all* now.
&gt; 
&gt; The event that&apos;s making it to PluginView is a &quot;wheel&quot; event, not a &quot;mousewheel&quot; event, so it doesn&apos;t get forwarded on to the Plugin.

... which is exactly what your change is about. Should we just be using &quot;wheel&quot; in WebKit2? Should that have been part of your patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926300</commentid>
    <comment_count>12</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-07 16:43:08 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; (In reply to comment #10)
&gt; &gt; (In reply to comment #9)
&gt; &gt; &gt; FWIW I&apos;m not seeing PDFPlugin::handleWheelEvent get hit *at all* now.
&gt; &gt; 
&gt; &gt; The event that&apos;s making it to PluginView is a &quot;wheel&quot; event, not a &quot;mousewheel&quot; event, so it doesn&apos;t get forwarded on to the Plugin.
&gt; 
&gt; ... which is exactly what your change is about. Should we just be using &quot;wheel&quot; in WebKit2? Should that have been part of your patch?

MediaControlsApple also uses mousewheelEvent. Should that be changed too? Did you by any chance grep the codebase for the &quot;legacy&quot; event you were changing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926389</commentid>
    <comment_count>13</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-09-07 23:16:07 -0700</bug_when>
    <thetext>Thanks for investigating this.

Note that my patch adds support for the &apos;wheel&apos; event but does NOT remove support for the legacy &apos;mousewheel&apos; event. Therefore, code that is still using the legacy event should in theory be fine. There are a lot of layout tests using it and still passing.

There is one case where the &apos;mousewheel&apos; event no longer gets fired. This is when there is a listener of the &apos;wheel&apos; event already. The &apos;mousewheel&apos; is only fired as fallback (similarly to webkit- prefixed events). The assumption is that the web page either uses the new standard event, or the legacy one, but not both.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926390</commentid>
    <comment_count>14</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-07 23:22:21 -0700</bug_when>
    <thetext>(In reply to comment #13)
&gt; Thanks for investigating this.
&gt; 
&gt; Note that my patch adds support for the &apos;wheel&apos; event but does NOT remove support for the legacy &apos;mousewheel&apos; event. Therefore, code that is still using the legacy event should in theory be fine. There are a lot of layout tests using it and still passing.
&gt; 
&gt; There is one case where the &apos;mousewheel&apos; event no longer gets fired. This is when there is a listener of the &apos;wheel&apos; event already. The &apos;mousewheel&apos; is only fired as fallback (similarly to webkit- prefixed events). The assumption is that the web page either uses the new standard event, or the legacy one, but not both.

To a page, maybe, but what events will make it to e.g. PluginView::handleEvent? Where does the wheel/mouseWheel split happen? If a page uses wheel events, will a &lt;object&gt; inside it get mouseWheel events, or not?

None of the aforementioned layout tests test plugins, obviously, because plugins very clearly do not get mouseWheel events anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926391</commentid>
    <comment_count>15</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-09-07 23:35:10 -0700</bug_when>
    <thetext>(In reply to comment #14)
&gt; (In reply to comment #13)
&gt; &gt; Thanks for investigating this.
&gt; &gt; 
&gt; &gt; Note that my patch adds support for the &apos;wheel&apos; event but does NOT remove support for the legacy &apos;mousewheel&apos; event. Therefore, code that is still using the legacy event should in theory be fine. There are a lot of layout tests using it and still passing.
&gt; &gt; 
&gt; &gt; There is one case where the &apos;mousewheel&apos; event no longer gets fired. This is when there is a listener of the &apos;wheel&apos; event already. The &apos;mousewheel&apos; is only fired as fallback (similarly to webkit- prefixed events). The assumption is that the web page either uses the new standard event, or the legacy one, but not both.
&gt; 
&gt; To a page, maybe, but what events will make it to e.g. PluginView::handleEvent? Where does the wheel/mouseWheel split happen? If a page uses wheel events, will a &lt;object&gt; inside it get mouseWheel events, or not?
&gt; 
&gt; None of the aforementioned layout tests test plugins, obviously, because plugins very clearly do not get mouseWheel events anymore.

The split occurs in EventTarget.cpp. I don&apos;t know much about plugins but I will take a look as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926395</commentid>
    <comment_count>16</comment_count>
      <attachid>210966</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-09-08 00:37:22 -0700</bug_when>
    <thetext>Created attachment 210966
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926396</commentid>
    <comment_count>17</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-09-08 00:40:04 -0700</bug_when>
    <thetext>You were right, I missed several instances where the code is only checking for &apos;mousewheel&apos; event name but not &apos;wheel&apos;. I fixed that in this patch. I am confident this fixes the scrolling issue even though I haven&apos;t tested.

I initially grep&apos;ed on Blink side to make sure I updated everything but failed to do the same on WebKit side when I ported the patch. Sorry about that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926515</commentid>
    <comment_count>18</comment_count>
      <attachid>210966</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-08 15:42:39 -0700</bug_when>
    <thetext>Comment on attachment 210966
Patch

That works for me, and seems reasonable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926516</commentid>
    <comment_count>19</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-08 15:43:12 -0700</bug_when>
    <thetext>(In reply to comment #17)
&gt; You were right, I missed several instances where the code is only checking for &apos;mousewheel&apos; event name but not &apos;wheel&apos;. I fixed that in this patch. I am confident this fixes the scrolling issue even though I haven&apos;t tested.
&gt; 
&gt; I initially grep&apos;ed on Blink side to make sure I updated everything but failed to do the same on WebKit side when I ported the patch. Sorry about that.

That would do it :D Thanks for fixing!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926571</commentid>
    <comment_count>20</comment_count>
      <attachid>210966</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-09-08 22:17:57 -0700</bug_when>
    <thetext>Comment on attachment 210966
Patch

Clearing flags on attachment: 210966

Committed r155321: &lt;http://trac.webkit.org/changeset/155321&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926572</commentid>
    <comment_count>21</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-09-08 22:18:01 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>210142</attachid>
            <date>2013-08-30 11:43:20 -0700</date>
            <delta_ts>2013-08-30 11:43:20 -0700</delta_ts>
            <desc>Testcase PDF</desc>
            <filename>url.txt</filename>
            <type>text/plain</type>
            <size>57</size>
            <attacher name="Matt Arsenault">arsenm2</attacher>
            
              <data encoding="base64">aHR0cDovL2NzLmJyb3duLmVkdS9jb3Vyc2VzL2NzMDMzL2RvY3MveDg2X2NoZWF0c2hlZXQucGRm
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>210183</attachid>
            <date>2013-08-31 02:19:45 -0700</date>
            <delta_ts>2013-09-08 00:37:15 -0700</delta_ts>
            <desc>Experiment #1</desc>
            <filename>120542_wheel_pdf.patch</filename>
            <type>text/plain</type>
            <size>1283</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL3BhZ2UvRXZlbnRIYW5kbGVyLmNwcCBiL1NvdXJj
ZS9XZWJDb3JlL3BhZ2UvRXZlbnRIYW5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IYW5kbGVkKCk7CiAgICAgCi0gICAgaWYgKGRvbWluYW50RGlyZWN0aW9uICE9IERvbWlu
YW50U2Nyb2xsRGlyZWN0aW9uSG9yaXpvbnRhbCAmJiBzY3JvbGxOb2RlKHdoZWVsRXZlbnQtPmRl
bHRhWSgpLCBncmFudWxhcml0eSwgU2Nyb2xsRG93biwgU2Nyb2xsVXAsIHN0YXJ0Tm9kZSwgJnN0
b3BOb2RlKSkKKyAgICBpZiAoZG9taW5hbnREaXJlY3Rpb24gIT0gRG9taW5hbnRTY3JvbGxEaXJl
Y3Rpb25Ib3Jpem9udGFsICYmIHNjcm9sbE5vZGUocm91bmQod2hlZWxFdmVudC0+ZGVsdGFZKCkp
LCBncmFudWxhcml0eSwgU2Nyb2xsRG93biwgU2Nyb2xsVXAsIHN0YXJ0Tm9kZSwgJnN0b3BOb2Rl
KSkKICAgICAgICAgd2hlZWxFdmVudC0+c2V0RGVmYXVsdEhhbmRsZWQoKTsKICAgICAKICAgICBp
ZiAoIW1fbGF0Y2hlZFdoZWVsRXZlbnROb2RlKQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>210966</attachid>
            <date>2013-09-08 00:37:22 -0700</date>
            <delta_ts>2013-09-08 22:17:57 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-120542-20130908103721.patch</filename>
            <type>text/plain</type>
            <size>5864</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTU1Mjg3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYjg3NDNhZTdkN2I1NmRm
NmEwNzAwODMxNmExODY3YWE5ODNhNjgxMS4uMzRlOTNhNjZkYzFiOTBkNmYxNjdhZGVkNWFkOTcz
NDg1ZTEwY2I3OSAxMDA2NDQKLS0t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Ag
ICAgfSBlbHNlIGlmIChldmVudC0+dHlwZSgpID09IGV2ZW50TmFtZXMoKS5tb3VzZW92ZXJFdmVu
dCAmJiBjdXJyZW50RXZlbnQtPnR5cGUoKSA9PSBXZWJFdmVudDo6TW91c2VNb3ZlKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>