<?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>70333</bug_id>
          
          <creation_ts>2011-10-18 09:37:52 -0700</creation_ts>
          <short_desc>[Qt][WK2]: Shouldn&apos;t send unhandled TouchCancel event to gesture recognizers</short_desc>
          <delta_ts>2022-02-28 03:49:10 -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>WebKit Qt</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="Dinu Jacob">dinu.jacob</reporter>
          <assigned_to name="Dinu Jacob">dinu.jacob</assigned_to>
          <cc>hausmann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>486100</commentid>
    <comment_count>0</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-10-18 09:37:52 -0700</bug_when>
    <thetext>QtPanGestureRecognizer and QtPinchGestureRecognizer needs only TouchBegin, TouchUpdate and TouchEnd. Sending TouchCancel event that is not handled results in an ASSERT in the gesture recognizers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>486102</commentid>
    <comment_count>1</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-10-18 09:38:56 -0700</bug_when>
    <thetext>In QTouchWebPageProxy::doneWithTouchEvent, the gesture recognizers should be reset even if TouchCancel event is not handled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>486106</commentid>
    <comment_count>2</comment_count>
      <attachid>111455</attachid>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-10-18 09:42:04 -0700</bug_when>
    <thetext>Created attachment 111455
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494125</commentid>
    <comment_count>3</comment_count>
      <attachid>111455</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2011-11-01 14:04:04 -0700</bug_when>
    <thetext>Comment on attachment 111455
patch

Fair enough :)

How do you synthesize TouchCancel? As a result of window deactivation maybe?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494567</commentid>
    <comment_count>4</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-11-02 05:48:12 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 111455 [details])
&gt; Fair enough :)
&gt; 
&gt; How do you synthesize TouchCancel? As a result of window deactivation maybe?

Yes, and according to W3C spec, also if there are more touch points on the touch surface than an allowed &apos;max&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494568</commentid>
    <comment_count>5</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-11-02 05:48:54 -0700</bug_when>
    <thetext>Can you also commit the patch please?

Thanks, Dinu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494572</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2011-11-02 05:56:24 -0700</bug_when>
    <thetext>Committed r99054: &lt;http://trac.webkit.org/changeset/99054&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494573</commentid>
    <comment_count>7</comment_count>
    <who name="Dinu Jacob">dinu.jacob</who>
    <bug_when>2011-11-02 05:57:03 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Committed r99054: &lt;http://trac.webkit.org/changeset/99054&gt;

Thanks Simon.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>111455</attachid>
            <date>2011-10-18 09:42:04 -0700</date>
            <delta_ts>2022-02-28 03:49:10 -0800</delta_ts>
            <desc>patch</desc>
            <filename>70333.patch</filename>
            <type>text/plain</type>
            <size>1392</size>
            <attacher name="Dinu Jacob">dinu.jacob</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDk3NzY1KQorKysgU291cmNlL1dlYktpdDIvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTEtMTAtMTggIERpbnUgSmFj
b2IgIDxkaW51LmphY29iQG5va2lhLmNvbT4KKworICAgICAgICBbUXRdW1dLMl06IFNob3VsZG4n
dCBzZW5kIHVuaGFuZGxlZCBUb3VjaENhbmNlbCBldmVudCB0byBnZXN0dXJlIHJlY29nbml6ZXJz
CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD03MDMzMwor
CisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEdlc3R1cmUg
cmVjb2duaXplcnMgc2hvdWxkIGJlIHJlc2V0IGZvciB1bmhhbmRsZWQgVG91Y2hDYW5jZWwgZXZl
bnQuCisKKyAgICAgICAgKiBVSVByb2Nlc3MvcXQvcXRvdWNod2VicGFnZXByb3h5LmNwcDoKKyAg
ICAgICAgKFFUb3VjaFdlYlBhZ2VQcm94eTo6ZG9uZVdpdGhUb3VjaEV2ZW50KToKKwogMjAxMS0x
MC0xOCAgRGludSBKYWNvYiAgPGRpbnUuamFjb2JAbm9raWEuY29tPgogCiAgICAgICAgIFtRdF1b
V0syXSBBU1NFUlQgd2hlbiBkaXNwbGF5aW5nIGNvbnRleHQgbWVudSBpbiBpbnB1dCBmaWVsZApJ
bmRleDogU291cmNlL1dlYktpdDIvVUlQcm9jZXNzL3F0L3F0b3VjaHdlYnBhZ2Vwcm94eS5jcHAK
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PQotLS0gU291cmNlL1dlYktpdDIvVUlQcm9jZXNzL3F0L3F0b3VjaHdlYnBhZ2Vw
cm94eS5jcHAJKHJldmlzaW9uIDk3NzU2KQorKysgU291cmNlL1dlYktpdDIvVUlQcm9jZXNzL3F0
L3F0b3VjaHdlYnBhZ2Vwcm94eS5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTU0LDcgKzU0LDcgQEAg
dm9pZCBRVG91Y2hXZWJQYWdlUHJveHk6OnBhaW50Q29udGVudChRUAogI2lmIEVOQUJMRShUT1VD
SF9FVkVOVFMpCiB2b2lkIFFUb3VjaFdlYlBhZ2VQcm94eTo6ZG9uZVdpdGhUb3VjaEV2ZW50KGNv
bnN0IE5hdGl2ZVdlYlRvdWNoRXZlbnQmIGV2ZW50LCBib29sIHdhc0V2ZW50SGFuZGxlZCkKIHsK
LSAgICBpZiAod2FzRXZlbnRIYW5kbGVkKSB7CisgICAgaWYgKHdhc0V2ZW50SGFuZGxlZCB8fCBl
dmVudC50eXBlKCkgPT0gV2ViRXZlbnQ6OlRvdWNoQ2FuY2VsKSB7CiAgICAgICAgIG1fcGFuR2Vz
dHVyZVJlY29nbml6ZXIucmVzZXQoKTsKICAgICAgICAgbV9waW5jaEdlc3R1cmVSZWNvZ25pemVy
LnJlc2V0KCk7CiAgICAgfSBlbHNlIHsK
</data>
<flag name="review"
          id="109291"
          type_id="1"
          status="+"
          setter="hausmann"
    />
          </attachment>
      

    </bug>

</bugzilla>