<?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>111081</bug_id>
          
          <creation_ts>2013-02-28 08:19:30 -0800</creation_ts>
          <short_desc>[Qt][WK2] Double-tap during scroll animation leaves content in suspended state</short_desc>
          <delta_ts>2013-03-07 10:15:25 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>111751</dup_id>
          
          <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="Andras Becsi">abecsi</reporter>
          <assigned_to name="Andras Becsi">abecsi</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>jturcotte</cc>
    
    <cc>menard</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>844115</commentid>
    <comment_count>0</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2013-02-28 08:19:30 -0800</bug_when>
    <thetext>[Qt][WK2] Double-tap during scroll animation leaves content in suspended state</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>844118</commentid>
    <comment_count>1</comment_count>
      <attachid>190733</attachid>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2013-02-28 08:22:15 -0800</bug_when>
    <thetext>Created attachment 190733
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845023</commentid>
    <comment_count>2</comment_count>
      <attachid>190733</attachid>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2013-03-01 03:31:21 -0800</bug_when>
    <thetext>Comment on attachment 190733
Patch

It&apos;s for those &quot;might have been&quot; cases that the update deferrers were good at handling.
r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845026</commentid>
    <comment_count>3</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2013-03-01 03:32:43 -0800</bug_when>
    <thetext>Benjamin could you sign this off?
Is this the kind of change that is considered trivial?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845051</commentid>
    <comment_count>4</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2013-03-01 04:16:21 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 190733 [details])
&gt; It&apos;s for those &quot;might have been&quot; cases that the update deferrers were good at handling.

Yes, this bug was unfortunately present since we removed the deferrers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845434</commentid>
    <comment_count>5</comment_count>
      <attachid>190733</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2013-03-01 13:00:48 -0800</bug_when>
    <thetext>Comment on attachment 190733
Patch

Isn&apos;t panGestureCancelled() called when transitioning from a pan to another gesture?
E.g.: pan-&gt;pinch; pan-&gt;double finger scroll

If yes, this patch is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845435</commentid>
    <comment_count>6</comment_count>
      <attachid>190733</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2013-03-01 13:00:49 -0800</bug_when>
    <thetext>Comment on attachment 190733
Patch

Isn&apos;t panGestureCancelled() called when transitioning from a pan to another gesture?
E.g.: pan-&gt;pinch; pan-&gt;double finger scroll

If yes, this patch is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845830</commentid>
    <comment_count>7</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2013-03-02 10:29:41 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; (From update of attachment 190733 [details])
&gt; Isn&apos;t panGestureCancelled() called when transitioning from a pan to another gesture?

Yes.

&gt; E.g.: pan-&gt;pinch; pan-&gt;double finger scroll

pan-&gt;pinch and pan-&gt;tap/double-tap, there is no double finger scroll in Qt.

&gt; 
&gt; If yes, this patch is wrong.

Could you elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846079</commentid>
    <comment_count>8</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2013-03-03 14:15:41 -0800</bug_when>
    <thetext>&gt; &gt; If yes, this patch is wrong.
&gt; 
&gt; Could you elaborate?

You would resume the content between two interactions.
Let say you do pan-&gt;pinch-&gt;pan without ever lifting the first finger. You don&apos;t expect the content to resume at any point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846405</commentid>
    <comment_count>9</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2013-03-04 06:17:36 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; &gt; &gt; If yes, this patch is wrong.
&gt; &gt; 
&gt; &gt; Could you elaborate?
&gt; 
&gt; You would resume the content between two interactions.
&gt; Let say you do pan-&gt;pinch-&gt;pan without ever lifting the first finger. You don&apos;t expect the content to resume at any point.

Currently we only explicitly prevent the content from resuming between subsequent pan gestures and do not enforce staying suspended between pan-&gt;pinch-&gt;pan.
Although it&apos;s true that the case for the pan-&gt;pinch part of the chain is currently in most cases provided as the side effect of this bug, as it was also the case when we had update deferrers.

To enforce suspended state for gesture chains when the finger is not lifted, without having corner cases where the content remains suspended, I think we need to bring back the update deferrers in some form.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850224</commentid>
    <comment_count>10</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2013-03-07 10:14:55 -0800</bug_when>
    <thetext>The issue is covered by a more comprehensive patch at https://bugs.webkit.org/show_bug.cgi?id=111751

*** This bug has been marked as a duplicate of bug 111751 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>190733</attachid>
            <date>2013-02-28 08:22:15 -0800</date>
            <delta_ts>2013-03-07 10:15:25 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-111081-20130228171634.patch</filename>
            <type>text/plain</type>
            <size>2725</size>
            <attacher name="Andras Becsi">abecsi</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQ0MzA2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0Mi9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0Mi9DaGFuZ2VMb2cKaW5kZXggM2RmY2RiNjZjZGFhMDAz
NjY3OWZiYmJkZTIwODc5MDEyNzYxMDQ3My4uMTQyMjcyOTZlOGZiNzYwMzJmM2UwODg2NzA0MTMw
ZTY3NjIxMTQ0MCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJLaXQyL0NoYW5nZUxvZwpAQCAtMSwzICsxLDIxIEBACisyMDEzLTAyLTI4ICBBbmRy
YXMgQmVjc2kgIDxhbmRyYXMuYmVjc2lAZGlnaWEuY29tPgorCisgICAgICAgIFtRdF1bV0syXSBE
b3VibGUtdGFwIGR1cmluZyBzY3JvbGwgYW5pbWF0aW9uIGxlYXZlcyBjb250ZW50IGluIHN1c3Bl
bmRlZCBzdGF0ZQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/
aWQ9MTExMDgxCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAg
ICAgSW4gUGFnZVZpZXdwb3J0Q29udHJvbGxlckNsaWVudFF0OjpmbGlja01vdmVFbmRlZCg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