Overlapping same-gesture areas with different start touches broken

Bug #822846 reported by Chase Douglas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OIF-qml
Fix Released
High
Chase Douglas
utouch-qml (Ubuntu)
Fix Released
High
Chase Douglas

Bug Description

From an email of a Darren West:

I am trying to setup two or more touch areas occupying the same space, one with a 3 finger and one with a 4 finger subscription, however, whichever is declared last will then block the previous topAreas signals and the subscription looks like it gets confused with how many fingers are required. So:

UTouchTapArea {
 subscription {
         touches.start : 3
        }
        onGestureOccurred : console.log( '3 finger tap')
        anchors.fill : parent
}

UTouchTapArea {
        subscription {
  touches.start : 4
        }
        onGestureOccurred : console.log( '4 finger tap')
        anchors.fill : parent
}

Will log '4 finger tap' regardless of whether it was a 3 or 4 finger tap!

Related branches

Revision history for this message
Chase Douglas (chasedouglas) wrote :

uTouch-qml currently does not check if the number of touches in the begin gesture matches the number of touches subscribed. This isn't an issue if same-gesture areas don't overlap, but when they do it can cause the wrong area to receive the events.

Changed in utouch-qml:
status: In Progress → Fix Committed
affects: ubuntu → utouch-qml (Ubuntu)
Changed in utouch-qml (Ubuntu):
assignee: nobody → Chase Douglas (chasedouglas)
importance: Undecided → High
status: New → In Progress
Changed in utouch-qml:
status: Fix Committed → Fix Released
Changed in utouch-qml (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package utouch-qml - 1.0.3-0ubuntu1

---------------
utouch-qml (1.0.3-0ubuntu1) oneiric; urgency=low

  * New upstream release.
    - Fixes issue with overlapping gesture areas (LP: #822846)
 -- Chase Douglas <email address hidden> Mon, 08 Aug 2011 12:33:53 -0700

Changed in utouch-qml (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.