<?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>24477</bug_id>
          
          <creation_ts>2009-03-09 20:00:16 -0700</creation_ts>
          <short_desc>REGRESSION (r41467): Page Down key scrolls two pages</short_desc>
          <delta_ts>2009-03-20 02:17: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>WebKit Misc.</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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="nobody">a4list</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>adele</cc>
    
    <cc>alice.barraclough</cc>
    
    <cc>ap</cc>
    
    <cc>dharris+webkit</cc>
    
    <cc>jwalden+bwo</cc>
    
    <cc>nickptar</cc>
    
    <cc>rajiv</cc>
    
    <cc>tony</cc>
    
    <cc>zwarich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>112939</commentid>
    <comment_count>0</comment_count>
    <who name="nobody">a4list</who>
    <bug_when>2009-03-09 20:00:16 -0700</bug_when>
    <thetext>hitting &quot;Page Down&quot; keyboard button broken (scrolls more than one &quot;page&quot;, i.e. more than one screen distance)

problem observed in r41521, not sure if that is first appearance of problem, but this bug appeared very recently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113001</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-10 09:02:40 -0700</bug_when>
    <thetext>Are you seeing this on all sites? I cannot reproduce the problem with r41550 (although I have a notebook, so it&apos;s Fn+Down, not PgDown for me).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113020</commentid>
    <comment_count>2</comment_count>
    <who name="nobody">a4list</who>
    <bug_when>2009-03-10 10:57:30 -0700</bug_when>
    <thetext>Yes, every website.

The &quot;Page Down&quot; key is located on keyboard among Home/End/Delete/Page Up/Page Down/Insert buttons.

(btw, &quot;Page Up&quot; scrolls the wrong distance, also.)

Problem continues in r41545.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113028</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-10 11:39:29 -0700</bug_when>
    <thetext>Weird, it suddenly started to happen to me. Maybe I was testing an old version previously.

Logging editing commands, I see that doCommandBySelector:&quot;scrollPageDown:&quot; is invoked twice for each PageDown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113109</commentid>
    <comment_count>4</comment_count>
    <who name="Rajiv Aaron Manglani">rajiv</who>
    <bug_when>2009-03-10 20:38:08 -0700</bug_when>
    <thetext>i&apos;m seeing this in WebKit r41545 with safari 4 public beta installed: Version 4 Public Beta (5528.16, r41545), on a mac with an &quot;extended keyboard&quot; with actual page up/page down keys.

the problem is not just with page down but also with page up.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113354</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-12 02:41:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/6674184&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113552</commentid>
    <comment_count>6</comment_count>
    <who name="Rajiv Aaron Manglani">rajiv</who>
    <bug_when>2009-03-12 23:02:15 -0700</bug_when>
    <thetext>this was broken in Changeset 41467 for trunk/WebKit/mac/WebView/WebHTMLView.mm in order to fix bug #24079. see http://trac.webkit.org/changeset/41467

building webkit r41660 with that change reversed fixes the problems described in this bug.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113557</commentid>
    <comment_count>7</comment_count>
      <attachid>28572</attachid>
    <who name="Rajiv Aaron Manglani">rajiv</who>
    <bug_when>2009-03-12 23:30:29 -0700</bug_when>
    <thetext>Created attachment 28572
patch to fix double page down/page up bug

since the selector is passed to super, consider the event handled.

code originally introduced in http://trac.webkit.org/changeset/39549</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113558</commentid>
    <comment_count>8</comment_count>
      <attachid>28572</attachid>
    <who name="Adele Peterson">adele</who>
    <bug_when>2009-03-12 23:35:01 -0700</bug_when>
    <thetext>Comment on attachment 28572
patch to fix double page down/page up bug

This will cause https://bugs.webkit.org/show_bug.cgi?id=23060 to show up again.  To reproduce that bug, try running Mail.app with your patched WebKit.  Focus a message in the preview pane, and you&apos;ll see that Home, End, Page Up, and Page Down don&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113597</commentid>
    <comment_count>9</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2009-03-13 09:07:26 -0700</bug_when>
    <thetext>Here&apos;s an experiment we should try.  If we added the selectors for Page Up/Down and Home/End to the Editor command table in WebCore, would we still need eventHandled to be false here to get the Mail testcase to work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114127</commentid>
    <comment_count>10</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-03-17 16:23:52 -0700</bug_when>
    <thetext>I値l take this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114140</commentid>
    <comment_count>11</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-03-17 17:06:41 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/41793</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114144</commentid>
    <comment_count>12</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-03-17 17:24:52 -0700</bug_when>
    <thetext>*** Bug 24660 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114302</commentid>
    <comment_count>13</comment_count>
    <who name="nobody">a4list</who>
    <bug_when>2009-03-19 05:11:19 -0700</bug_when>
    <thetext>This problem is not fixed.

Some recent versions seemed OK.

r41760 again scrolls too far. 

It seems to be not quite a full page extra, but it is scrolling the wrong distance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114308</commentid>
    <comment_count>14</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-03-19 07:39:38 -0700</bug_when>
    <thetext>The difference in distance scrolled is probably due to the fact that we now use WebCore&apos;s scrolling code instead of WebFrameView&apos;s.

The old bug was absolutely critical, the new bug simply makes the Mac version match the Windows version. While I want to fix the new bug, it&apos;s *not* the same thing, so reopening this bug report isn&apos;t quite right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114310</commentid>
    <comment_count>15</comment_count>
    <who name="Doug Harris">dharris+webkit</who>
    <bug_when>2009-03-19 08:01:02 -0700</bug_when>
    <thetext>(In reply to comment #13)
&gt; This problem is not fixed.
&gt; 
&gt; Some recent versions seemed OK.
&gt; 
&gt; r41760 again scrolls too far. 

According to comment #12, this was committed in r41793 -- which is after r41760.

There has been no new nightly build since r41760 (I don&apos;t know why).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114325</commentid>
    <comment_count>16</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-03-19 10:03:02 -0700</bug_when>
    <thetext>Please try again with a version newer than r41793.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114428</commentid>
    <comment_count>17</comment_count>
    <who name="nobody">a4list</who>
    <bug_when>2009-03-19 18:57:44 -0700</bug_when>
    <thetext>seems to be OK in r41844.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114469</commentid>
    <comment_count>18</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2009-03-20 02:17:01 -0700</bug_when>
    <thetext>*** Bug 24698 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28572</attachid>
            <date>2009-03-12 23:30:29 -0700</date>
            <delta_ts>2009-03-12 23:35:01 -0700</delta_ts>
            <desc>patch to fix double page down/page up bug</desc>
            <filename>WebKitBug24477.patch</filename>
            <type>text/plain</type>
            <size>1554</size>
            <attacher name="Rajiv Aaron Manglani">rajiv</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9tYWMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9tYWMvQ2hh
bmdlTG9nCShyZXZpc2lvbiA0MTY2MikKKysrIFdlYktpdC9tYWMvQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMDktMDMtMTIgIFJhaml2IEFhcm9uIE1hbmdsYW5p
ICA8cmFqaXZAYWx1bS5taXQuZWR1PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09Q
UyEpLgorICAgICAgICAKKyAgICAgICAgRml4IGZvciBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9z
aG93X2J1Zy5jZ2k/aWQ9MjQ0NzcKKyAgICAgICAgUkVHUkVTU0lPTjogSGl0dGluZyAiUGFnZSBE
b3duIiBrZXlib2FyZCBidXR0b24gYnJva2VuIChzY3JvbGxzIG1vcmUgdGhhbiBvbmUgInBhZ2Ui
LCBpLmUuIG1vcmUgdGhhbiBvbmUgc2NyZWVuIGRpc3RhbmNlKQorICAgICAgICA8cmRhcjovL3By
b2JsZW0vNjY3NDE4ND4KKworICAgICAgICAqIFdlYlZpZXcvV2ViSFRN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FuZGxlZC4gIEJ1dCBpbiBwcmFjdGljZSwgSSd2ZSBmb3VuZCBubwotICAgICAgICAgICAgICAg
IC8vIGV4YW1wbGUgb2YgdGhhdCBoYXBwZW5pbmcgYW5kIGNhdXNpbmcgYnJva2VuIGJlaGF2aW9y
LgotICAgICAgICAgICAgICAgIGV2ZW50V2FzSGFuZGxlZCA9IGZhbHNlOwogICAgICAgICAgICAg
fQogICAgICAgICB9CiAK
</data>
<flag name="review"
          id="14056"
          type_id="1"
          status="-"
          setter="adele"
    />
          </attachment>
      

    </bug>

</bugzilla>