No touch events while utouch-grail clients wait for next timeout

Bug #967605 reported by Daniel d'Andrada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geis
Fix Released
High
Daniel d'Andrada
Grail
Fix Released
Medium
Chase Douglas
utouch-geis (Ubuntu)
Fix Released
Undecided
Unassigned
utouch-grail (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce the issue:
1 - Have a utouch-geis client running with a Drag subscription for N touches.
2 - Swipe N fingers over your mulitouch device.

Expected outcome:
There's a steady flow of touch events coming through

Actual outcome:
A handful of events come, then there's a pause of some hundreds of milliseconds, and then events continue flowing, including a burst with all events that should have come during that pause.

What happens is that when XSyncAwait() is called for grail_next_timeout() (which will return the drag gesture timeout), it will make XSync wait until that timeout is reached. Using an XSyncAlarm instead of XSyncAwait() would solve that issue.

Related branches

Changed in utouch-geis:
assignee: nobody → Daniel d'Andrada (dandrader)
importance: Undecided → Medium
status: New → In Progress
importance: Medium → High
summary: - No touch events while utouch-geis waits for utouch-grail's next timeout
+ No touch events while utouch-geis waits for next timeout
Stephen M. Webb (bregma)
Changed in utouch-geis:
milestone: none → utouch-geis-2.2.8
Changed in utouch-geis:
status: In Progress → Fix Committed
Changed in utouch-grail:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Chase Douglas (chasedouglas)
milestone: none → utouch-grail-3.0.4
summary: - No touch events while utouch-geis waits for next timeout
+ No touch events while utouch-grail clients wait for next timeout
Changed in utouch-grail:
status: In Progress → Fix Committed
Changed in utouch-grail:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package utouch-grail - 3.0.4-0ubuntu1

---------------
utouch-grail (3.0.4-0ubuntu1) precise; urgency=low

  [ Stephen M. Webb ]
  * debian/copyright: changed library to LGPL-3 license (LP: #963070)
  * debian/utouch-grail-tools.install: added manpages (LP: #955609)

  [ Daniel d'Andrada ]
  * New upstream release
    - Fix utouch-grail needs to be relicensed under LGPLv3 (LP: #963070)
    - Fix taps time out erroneously and don't fire (LP: #962705)
    - Fix virtual destructors to SliceCheckerState (LP: #962886)
    - Fix uninitialized variable in SliceChecker (LP: #962904)
    - Fix tests can only be run when built in-source (LP: #962919)
    - Fix needless memory growth from undeleted Gesture instances (LP: #965260)
    - Fix touch state accounting should be managed better (LP: #966688)
    - Fix no touch events while utouch-grail clients wait for next timeout
      (LP: #967605)
    - Fix premature gesture acceptance possible upon timestamps mismatch
      (LP: #963379)
    - Fix utouch-grail FTBFS in daily PPA (LP: #966367)
    - Fix utouch-grail-tools package is missing manpages (LP: #955609)

  [ Chase Douglas ]
  * Build with debhelper --parallel
  * Disable integration tests during package build
  * Remove --with-xi configure flag, it is obsolete
 -- Chase Douglas <email address hidden> Fri, 30 Mar 2012 16:03:04 -0700

Changed in utouch-grail (Ubuntu):
status: New → Fix Released
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: Fix Committed → Fix Released
Changed in utouch-geis (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package utouch-geis - 2.2.8-0ubuntu1

---------------
utouch-geis (2.2.8-0ubuntu1) precise; urgency=low

  [ Chase Douglas ]
  * Build integration tests where dependencies are available
    - Will not build tests in archive, will build tests in Jenkins systems

  [ Stephen M. Webb ]
  * New upstream release.
    - fixes filter creation when no matching devices are present (lp: #904731)
    - fixes Unity crashes in geis_filter_delete() (lp: #936815)
    - fixes touch event delay during timeout wait (lp: #967605)
    - fixes handling device addition/removal (lp: #944822)
    - fixes tap timeouts (lp: #962705)
    - fixes position delta on touch count changes (lp: #967267)
    - fixes window ungrab on subscription deactivation (lp: #968736)
    - fixes geistest crash on startup (lp: #966595)
  * Bumped minimum required version of utouch-geis to 3.0.4 for licensing
    changes.
 -- <email address hidden> (Stephen M. Webb) Sat, 31 Mar 2012 13:13:34 -0400

Changed in utouch-geis (Ubuntu):
status: In Progress → 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.