Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Aug 2010
    Posts
    2
    Vote Rating
    0
    corgs is on a distinguished road

      0  

    Default [FIXED-223] Too many touchstart events on multi-touch platform

    [FIXED-223] Too many touchstart events on multi-touch platform


    In trying to investigate the problem mentioned in my previous post (223) I have discovered that there seem to be too many events fired on iPhone & iPad when two fingers are used. The action I am investigating is (a) touch and hold on a target 1 then, without letting go, (b) touch and hold on target 2. So if we only consider touchstart events I would expect a touchstart on target 1 followed by a touchstart on target 2. If I remove the finger from target 2 I would not expect any more touchstart events.

    What actually happens (code attached) is that on touch (b) I get two touchstart events (one for each target). Often (but not always) I get another touchstart on removing the finger from target 2.

    In my example there are three targets , two green tappables and the grey backplane. Any two of these three can be used as the two targets for testing.

    [As a P.S., and not really related to the above, I have been having a look at the code of TouchEventManager and I see in ext-touch-debug.js, in TouchEventManager, in the 'onTouchMove' section

    if (track.tap && absDeltaX >= me.tapThreshold || absDeltaY >= me.tapThreshold) {

    ...it looks to me as though another set of brackets around the 'or' condition might be required.]
    Attached Files

  2. #2
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    Thanks corgs,

    We'll examine both issues.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


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

      0  

    Default


    With the new gesture system in 0.96 this should be fixed. If you could confirm after the release, that would be very helpful.

Similar Threads

  1. Working on Multi-Touch displays?
    By PHANTOMIAS in forum Sencha Touch 1.x: Discussion
    Replies: 16
    Last Post: 9 Sep 2010, 11:26 PM
  2. Replies: 2
    Last Post: 9 Sep 2010, 10:24 AM
  3. [OPEN-223] Multi-touch Drag & Drop on iPad
    By corgs in forum Sencha Touch 1.x: Bugs
    Replies: 1
    Last Post: 12 Aug 2010, 9:14 AM
  4. touch events iPad text-input : don't exist?
    By tr888 in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 22 Jul 2010, 2:54 PM
  5. [FIXED-109] modal/overlay option breaks touch events
    By crp_spaeth in forum Sencha Touch 1.x: Bugs
    Replies: 3
    Last Post: 28 Jun 2010, 1:52 PM

Thread Participants: 2