<?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>37134</bug_id>
          
          <creation_ts>2010-04-05 20:16:32 -0700</creation_ts>
          <short_desc>Remove unused DIRECTIONAL_PAD_NAVIGATION</short_desc>
          <delta_ts>2010-04-06 07:33:56 -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>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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="Antonio Gomes">tonikitoo</reporter>
          <assigned_to name="Antonio Gomes">tonikitoo</assigned_to>
          <cc>caryclark</cc>
    
    <cc>eric</cc>
    
    <cc>joseph.ligman</cc>
    
    <cc>laszlo.gombos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>208872</commentid>
    <comment_count>0</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-04-05 20:16:32 -0700</bug_when>
    <thetext>bug 23145 was filed intending to add a DIRECTIONAL_PAD_NAVIGATION build flag to WebCore (see attached patch in that bug), but according to https://bugs.webkit.org/show_bug.cgi?id=23145#c3 this is no longer needed once android does not implement ΅directional navigation&quot; in engine side, nor seems to plan so. Bug was then RESOLVED as INVALID.

In the meanwhile, bug 23163 landed a patch that relies on the DIRECTIONAL_PAD_NAVIGATION flag, and it is not dead code.

I propose to remove any refenrece to DIRECTIONAL_PAD_NAVIGATION from trunk

ps: we have &quot;Spatial Navigation&quot; available in trunk (see bug 18862 and dependency list).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208873</commentid>
    <comment_count>1</comment_count>
      <attachid>52601</attachid>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-04-05 20:23:17 -0700</bug_when>
    <thetext>Created attachment 52601
(committed in r57148) patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208874</commentid>
    <comment_count>2</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-04-05 20:26:22 -0700</bug_when>
    <thetext>s/it is not dead code/it is NOW dead code/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208876</commentid>
    <comment_count>3</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-05 20:39:37 -0700</bug_when>
    <thetext>Bug 18862 does not seems to be related to Spatial Navigation.

ChangeLog has some minor typos, spacing issues, please fix it when landing.

This patch looks ok to me, but I&apos;d like to give some time to Cary to give feedback before giving an r+. I do not think we have enough evidence that this flag is not used by any ports. The fact that this is not listed in Platform.h is not enough evidence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208878</commentid>
    <comment_count>4</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-04-05 20:43:05 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Bug 18862 does not seems to be related to Spatial Navigation.

err, it is bug 18662. Sorry.

&gt; ChangeLog has some minor typos, spacing issues, please fix it when landing.

sure, thank you.

&gt; This patch looks ok to me, but I&apos;d like to give some time to Cary to give
&gt; feedback before giving an r+. I do not think we have enough evidence that this
&gt; flag is not used by any ports. The fact that this is not listed in Platform.h
&gt; is not enough evidence.

cary, eric, what do you guys think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209002</commentid>
    <comment_count>5</comment_count>
    <who name="Cary Clark">caryclark</who>
    <bug_when>2010-04-06 05:49:24 -0700</bug_when>
    <thetext>The DIRECTIONAL_PAD_NAVIGATION condition is obsolete. D-pad navigation on Android used to change the DOM focus; now, it only changes the mouse position. Since the focus is only set when the page initiates Javascript, or through mouse click events, this scroll in response to changing focus no longer needs to be suppressed.

Android separately ignores scroll requests that are not initiated by user actions, so it&apos;s fine to remove this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209003</commentid>
    <comment_count>6</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-04-06 05:54:40 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; The DIRECTIONAL_PAD_NAVIGATION condition is obsolete. D-pad navigation on
&gt; Android used to change the DOM focus; now, it only changes the mouse position.
&gt; Since the focus is only set when the page initiates Javascript, or through
&gt; mouse click events, this scroll in response to changing focus no longer needs
&gt; to be suppressed.
&gt; 
&gt; Android separately ignores scroll requests that are not initiated by user
&gt; actions, so it&apos;s fine to remove this.

thank you Cary. Laszlo, what typos you referred to?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209028</commentid>
    <comment_count>7</comment_count>
      <attachid>52601</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-06 06:55:59 -0700</bug_when>
    <thetext>Comment on attachment 52601
(committed in r57148) patch

LGTM based on Cary&apos;s comments. The typo seems to be only in the bug report and not in ChangeLog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209042</commentid>
    <comment_count>8</comment_count>
      <attachid>52601</attachid>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-04-06 07:33:44 -0700</bug_when>
    <thetext>Comment on attachment 52601
(committed in r57148) patch

thanks laszlo</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52601</attachid>
            <date>2010-04-05 20:23:17 -0700</date>
            <delta_ts>2010-04-06 07:33:43 -0700</delta_ts>
            <desc>(committed in r57148) patch</desc>
            <filename>0001-Remove-unused-DIRECTIONAL_PAD_NAVIGATION.patch</filename>
            <type>text/plain</type>
            <size>2633</size>
            <attacher name="Antonio Gomes">tonikitoo</attacher>
            
              <data encoding="base64">RnJvbSA2MWYyMDZiOGQ0ZTk2NDQ0NWM5ZmZlYjNiZWJjN2Y4NmM4OTM0ZTQzIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBBbnRvbmlvIEdvbWVzIDx0b25pa2l0b29Ad2Via2l0Lm9yZz4K
RGF0ZTogTW9uLCA1IEFwciAyMDEwIDIzOjIyOjA3IC0wNDAwClN1YmplY3Q6IFtQQVRDSF0gUmVt
b3ZlIHVudXNlZCBESVJFQ1RJT05BTF9QQURfTkFWSUdBVElPTgogaHR0cHM6Ly9idWdzLndlYmtp
dC5vcmcvc2hvd19idWcuY2dpP2lkPTM3MTM0CgpSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4K
UGF0Y2ggYnkgQW50b25pbyBHb21lcyA8dG9uaWtpdG9vQHdlYmtpdC5vcmc+CgpBbmRyb2lkIGJy
b3dzZXIgd2FzIHBsYW5uaW5nIHRvIGhhdmUgYSAiZGlyZWN0aW9uYWwgcGFkIG5hdmlnYXRpb24i
IGF2YWlsYWJsZSBvbgp0cnVuaywgdW5kZXIgYSBidWlsZCBndWFyZCBjYWxsZWQgRElSRUNUSU9O
QUxfUEFEX05BVklHQVRJT04sIGJ1dCBhY2NvcmRpbmcgdG8KaHR0cHM6Ly9idWdzLndlYmtpdC5v
cmcvc2hvd19idWcuY2dpP2lkPTIzMTQ1I2MzICwgdGhlIHBsYW4gd2FzIGRyb3BwZWQuCgpIb3dl
dmVyIGJ1ZyAyMzE2MyBsYW5kZWQgc29tZSBjb2RlIHJlbHlpbmcgb24gdGhlIGJ1aWxkIGZsYWcg
c3VwcG9zZWRseSB0byBiZSBhZGRlZCwKYW5kIGlzIG5vdyBkZWFkIGNvZGUgaW4gdHJ1bmsuCgoq
IGRv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