Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Aug 2010
    Sweden, Västerås
    Vote Rating
    Kask is on a distinguished road


    Default [FIXED-242] Pinch gesture is interpreted as swipe

    [FIXED-242] Pinch gesture is interpreted as swipe

    Sencha Touch version tested:
    • 0.9 rev 3
    • only default ext-all.css

    Platform tested against:

    • iOS 3.x
    • iOS 4


    If you are doing a rather small pinch, but still a two-finger pinch, it can be interpreted as a swipe and rise that event instead of the pinch event. Might have to do with the plastic film on my iPad, but its still an issue.

    Test Case:

        Ext.ux.TouchPad = Ext.extend(Ext.Component, {
        id: 'touchpad',
        html: 'Touch here!',
        fullscreen: true,
        initComponent : function() {
        afterRender: function() {
            this.mon(this.el, {
                swipe: this.handleEvent,
                pinch: this.handleEvent,
        handleEvent: function(e) {
        glossOnIcon: false,
        onReady: function () {
            new Ext.Panel({
                fullscreen: true,
                title: 'Swipe/Pinch test',
                items: new Ext.ux.TouchPad()
    Steps to reproduce the problem:
    • Do a small two-finger pinch.
    • Check console log.

    The result that was expected:

    • Pinch event would rise.

    The result that occurs instead:
    • Sometimes the swipe event is raised instead.

    Debugging already done:

    • none

    Possible fix:
    • Change the if-case that determines if check for swipe is to be done, and include that no check should be done if its multiTouch.
    • Line 4674 in ext-touch-debug-w-comments.js
    • Code:
      if (!track.scrolling && && !me.multiTouch)

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Redwood City, California
    Vote Rating
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough



    Thank you for the report.

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Haarlem, Netherlands
    Vote Rating
    TommyMaintz will become famous soon enough



    This has been fixed in the new gesture system that will be part of the next release.

Similar Threads

  1. general question: using pinch gesture to scale div/class.
    By nosarious in forum Sencha Touch 1.x: Discussion
    Replies: 11
    Last Post: 12 Jan 2011, 6:24 PM
  2. Firing a scroll gesture from a button tap
    By DaveC426913 in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 2 Sep 2010, 11:46 AM
  3. Ext Core - an empty gesture?
    By tercero12 in forum Ext: Q&A
    Replies: 9
    Last Post: 9 Jul 2010, 5:59 AM
  4. Replies: 3
    Last Post: 11 Sep 2009, 12:58 AM
  5. [CLOSED] [2.0.1] NullPointerException at
    By Arno.Nyhm in forum Ext GWT: Bugs (2.x)
    Replies: 5
    Last Post: 29 Jul 2009, 8:14 AM

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar