<?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>96948</bug_id>
          
          <creation_ts>2012-09-17 13:08:29 -0700</creation_ts>
          <short_desc>[chromium] Enable shouldGesturesTriggerActive for Android</short_desc>
          <delta_ts>2013-02-05 14:06:14 -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>UI Events</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="Rick Byers">rbyers</reporter>
          <assigned_to>yusufo</assigned_to>
          <cc>aelias</cc>
    
    <cc>jamesr</cc>
    
    <cc>klobag</cc>
    
    <cc>leviw</cc>
    
    <cc>rbyers</cc>
    
    <cc>skyostil</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>yusufo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>722207</commentid>
    <comment_count>0</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2012-09-17 13:08:29 -0700</bug_when>
    <thetext>In https://bugs.webkit.org/show_bug.cgi?id=96060 chromium got support for triggering the &apos;active&apos; state via gesture events.  This is disabled on Android for now due to lack of GestureTapCancel support in the gesture recognizer there.  Once it&apos;s added and plumbed into WebKit, shouldGesturesTriggerActive in EventHandler.cpp should be updated to enable the support in Android as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758519</commentid>
    <comment_count>1</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2012-11-05 07:32:56 -0800</bug_when>
    <thetext>Note that this will fix the performance problem with touchstart triggering hover/active states (makes the touchstart hit-test a readonly test).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>790918</commentid>
    <comment_count>2</comment_count>
      <attachid>179331</attachid>
    <who name="">yusufo</who>
    <bug_when>2012-12-13 14:17:27 -0800</bug_when>
    <thetext>Created attachment 179331
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791027</commentid>
    <comment_count>3</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2012-12-13 15:42:28 -0800</bug_when>
    <thetext>Have you already done the work elsewhere to send GestureTapCancel such that TapDown is always followed by either Tap or TapCancel?  It was the lack of any GestureTapCancel event that led me to have this be disabled on Android.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791039</commentid>
    <comment_count>4</comment_count>
    <who name="">yusufo</who>
    <bug_when>2012-12-13 15:52:05 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; Have you already done the work elsewhere to send GestureTapCancel such that TapDown is always followed by either Tap or TapCancel?  It was the lack of any GestureTapCancel event that led me to have this be disabled on Android.

In gesture_event_filter, we have added gestureLongPress and gestureDoubleTap to the gestures that can follow a gestureTapDown. So right now TapDown is always folled by Tap, DoubleTap or DoubleTap for us. I think it is still OK even if we don&apos;t introduce TapCancel, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791051</commentid>
    <comment_count>5</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2012-12-13 16:00:41 -0800</bug_when>
    <thetext>No, I don&apos;t think that&apos;s enough.  EventHandler::handleGestureEvent assumes that TapDown is followed by either a Tap or TapCancel.  Otherwise you may find &apos;active&apos; states getting stuck on (i.e. a missing Release hit test).

We thought about just looking for some set of specific events rather than introducing TapCancel, but we decided that would be too brittle - different platforms may have different events that follow and it&apos;s a pain to update them.  So figured it was better to require the platform to explicitly tell us when a Tap is no longer possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791723</commentid>
    <comment_count>6</comment_count>
      <attachid>179331</attachid>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-12-14 11:18:56 -0800</bug_when>
    <thetext>Comment on attachment 179331
Patch

R- for now based on rbyer&apos;s comments that this won&apos;t work yet</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825622</commentid>
    <comment_count>7</comment_count>
      <attachid>179331</attachid>
    <who name="">yusufo</who>
    <bug_when>2013-02-05 10:40:29 -0800</bug_when>
    <thetext>Comment on attachment 179331
Patch

We have landed all the changes necessary to handle this properly on Android. All TapDown are followed by a Tap or TapCancel right now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825634</commentid>
    <comment_count>8</comment_count>
      <attachid>179331</attachid>
    <who name="James Robinson">jamesr</who>
    <bug_when>2013-02-05 10:49:15 -0800</bug_when>
    <thetext>Comment on attachment 179331
Patch

Any way to test this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825639</commentid>
    <comment_count>9</comment_count>
    <who name="">yusufo</who>
    <bug_when>2013-02-05 10:55:04 -0800</bug_when>
    <thetext>I think the original bug that introduced this change https://bugs.webkit.org/show_bug.cgi?id=96060 has the related tests. I will verify that those tests are running for us and then flip the cq flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825664</commentid>
    <comment_count>10</comment_count>
      <attachid>179331</attachid>
    <who name="">yusufo</who>
    <bug_when>2013-02-05 11:23:48 -0800</bug_when>
    <thetext>Comment on attachment 179331
Patch

Verified that these tests are not disabled for us in TestExpectations chromium and chromium-android. After the change they should start running with the right behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825687</commentid>
    <comment_count>11</comment_count>
      <attachid>179331</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-05 12:03:24 -0800</bug_when>
    <thetext>Comment on attachment 179331
Patch

Rejecting attachment 179331 from commit-queue.

Failed to run &quot;[&apos;/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-id=gce-cq-04&apos;, &apos;land-attachment&apos;, &apos;--force-clean&apos;, &apos;--non-interactive&apos;, &apos;--parent-command=commit-queue&apos;, 179331, &apos;--port=chromium-xvfb&apos;]&quot; exit_code: 2 cwd: /mnt/git/webkit-commit-queue

Last 500 characters of output:
t/git/webkit-commit-queue/Source/WebKit/chromium/v8 --revision 13563 --non-interactive --force --accept theirs-conflict --ignore-externals&apos; in &apos;/mnt/git/webkit-commit-queue/Source/WebKit/chromium&apos;
53&gt;At revision 13563.

________ running &apos;/usr/bin/python tools/clang/scripts/update.py --mac-only&apos; in &apos;/mnt/git/webkit-commit-queue/Source/WebKit/chromium&apos;

________ running &apos;/usr/bin/python gyp_webkit&apos; in &apos;/mnt/git/webkit-commit-queue/Source/WebKit/chromium&apos;
Updating webkit projects from gyp files...

Full output: http://queues.webkit.org/results/16365947</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825763</commentid>
    <comment_count>12</comment_count>
      <attachid>186690</attachid>
    <who name="">yusufo</who>
    <bug_when>2013-02-05 13:18:25 -0800</bug_when>
    <thetext>Created attachment 186690
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825766</commentid>
    <comment_count>13</comment_count>
    <who name="">yusufo</who>
    <bug_when>2013-02-05 13:20:16 -0800</bug_when>
    <thetext>Sorry, it looks I had to fix the Changelog. Fixed it and added the test related info on the Changelog. Can you review again and push it to CQ if it looks good?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825794</commentid>
    <comment_count>14</comment_count>
      <attachid>186690</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-05 14:06:09 -0800</bug_when>
    <thetext>Comment on attachment 186690
Patch

Clearing flags on attachment: 186690

Committed r141929: &lt;http://trac.webkit.org/changeset/141929&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825795</commentid>
    <comment_count>15</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-05 14:06:14 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>179331</attachid>
            <date>2012-12-13 14:17:27 -0800</date>
            <delta_ts>2013-02-05 13:18:23 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-96948-20121213141447.patch</filename>
            <type>text/plain</type>
            <size>1561</size>
            <attacher>yusufo</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM3NTcwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZGQyY2ZhNmNiODVhNDdm
MmM4MzA3NTdlZjdhNDNmMmRlZTY4MTE2OC4uMDRjOGVlMzA2MTAwYjdiMzZjY2NhMzgzMjE1NTdj
M2YxYjgyMWY5ZSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE4IEBACisyMDEyLTEyLTEzICBZdXN1
ZiBPenV5c2FsICA8eXVzdWZvQGdvb2dsZS5jb20+CisKKyAgICAgICAgW2Nocm9taXVtXSBFbmFi
bGUgc2hvdWxkR2VzdHVyZXNUcmlnZ2VyQWN0aXZlIGZvciBBbmRyb2lkCisgICAgICAgIGh0dHBz
Oi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD05Njk0OAorCisgICAgICAgIFJldmll
d2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFdlIG5lZWQgdGhpc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HZXN0dXJlVGFwQ2FuY2VsIHRoZW4gd2UnbGwK
ICAgICAvLyByZWx5IG9uIHRoZW0gdG8gc2V0IHRoZSBhY3RpdmUgc3RhdGUuIFVuZm9ydHVuYXRl
bHkgdGhlcmUncyBubyBnZW5lcmljIHdheSB0bwogICAgIC8vIGtub3cgaW4gYWR2YW5jZSB3aGF0
IGV2ZW50IHR5cGVzIGFyZSBzdXBwb3J0ZWQuCi0jaWYgUExBVEZPUk0oQ0hST01JVU0pICYmICFP
UyhBTkRST0lEKQorI2lmIFBMQVRGT1JNKENIUk9NSVVNKQogICAgIHJldHVybiB0cnVlOwogI2Vs
c2UKICAgICByZXR1cm4gZmFsc2U7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>186690</attachid>
            <date>2013-02-05 13:18:25 -0800</date>
            <delta_ts>2013-02-05 14:06:08 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-96948-20130205131503.patch</filename>
            <type>text/plain</type>
            <size>1648</size>
            <attacher>yusufo</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQxODc5CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZTdlM2MwNjcwODNmYzlk
YWJmNDUxMzI3ZjNhMjQzZjM0NGJjMDdiYS4uZjA1YjA3YTlhNjkzOTczNWQzMTRhMzhlNGQ2NmQ0
YmFjODUwOTQ3MCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE5IEBACisyMDEzLTAyLTA1ICBZdXN1
ZiBPenV5c2FsICA8eXVzdWZvQGdvb2dsZS5jb20+CisKKyAgICAgICAgW2Nocm9taXVtXSBFbmFi
bGUgc2hvd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