4-finger drag also registers 3-finger tap simultaneously

Bug #748282 reported by Chad A Davis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grail
Fix Released
Medium
Henrik Rydberg
utouch-grail (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: unity

Test case was: Using a 4-finger drag (to the right) to display the launcher (if hidden).

  http://testcases.qa.ubuntu.com/Applications/Unity/Touch/LauncherRevealed

The test case passes, however, if there is a window under the current mouse position, then that window is set into "Initiation" mode as a side effect of the 4-finger drag. The reason is that a 3-finger event is also being registered. To measure this, I then did:

 geistest | grep touch= | sort | uniq -c

And then performed exclusively 4-finger drags for several seconds in different directions. The results:

    11 attr "gesture name" = "Touch,touch=3"
    210 attr "gesture name" = "Touch,touch=4"

This suggests that the hardware may be overly sensitive (MacBookPro6.2). At this point it's not clear if this should be a called a bug in the touchpad driver or if unity is responsible for compensating for sensitive touchpads.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,vpswitch,compiztoolbox,regex,snap,imgpng,unitymtgrabhandles,resize,gnomecompat,animation,grid,place,mousepoll,move,expo,wall,workarounds,session,ezoom,staticswitcher,fade,scale,unityshell]
Date: Sat Apr 2 15:19:31 2011
DistroCodename: natty
DistroVariant: ubuntu
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64+mac (20110329.1)
InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64+mac (20110329.1)
InstallationMedia__: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64+mac (20110329.1)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature_: Ubuntu 2.6.38-7.39-generic 2.6.38
ProcVersionSignature__: Ubuntu 2.6.38-7.39-generic 2.6.38
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu1

Revision history for this message
Chad A Davis (chadadavis) wrote :
Revision history for this message
Chase Douglas (chasedouglas) wrote :

I can confirm the behavior on a magic trackpad. I believe the issue is the touch configuration stabilization timeout. This timeout is for a reasonable length of time allowed between touches becoming active. Without this timeout, one would have to touch all four fingers at the exact same time or else other gestures may fire.

We need to look into increasing this timeout value.

affects: utouch → utouch-grail
Changed in utouch-grail:
importance: Undecided → Medium
status: New → Triaged
affects: unity (Ubuntu) → utouch-grail (Ubuntu)
Changed in utouch-grail (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Chase Douglas (chasedouglas) wrote :

Henrik has added a few lines of code to ensure the "glue" timeout is enforced between for touch gestures too. I added a patch to the package in natty and uploaded it (version 1.0.20-0ubuntu4~utouch1) to ppa:utouch-team/unstable. Please test out the package once it has been built and published to see if it fixes the issue for you.

Changed in utouch-grail:
status: Triaged → In Progress
Changed in utouch-grail (Ubuntu):
status: Triaged → In Progress
Changed in utouch-grail:
assignee: nobody → Henrik Rydberg (rydberg)
Revision history for this message
Chad A Davis (chadadavis) wrote : Re: [Bug 748282] Re: 4-finger drag also registers 3-finger tap simultaneously
Download full text (3.7 KiB)

It works perfectly.

I made sure I could reproduce the original issue before upgrading. I
again got about 10 out of 200 4-finger drags incorrectly registered as
3-finger events. I updated to the 1.0.20-0ubuntu4~utouch1 from the ppa
and ran the same test: 0 errors out of 573 4-finger events registered.
And unity toggles the dash on 4-finger tap and toggles the launcher on
4-finger left/right drag every time.

Thanks!

On Mon, Apr 4, 2011 at 20:45, Chase Douglas <email address hidden> wrote:
> Henrik has added a few lines of code to ensure the "glue" timeout is
> enforced between for touch gestures too. I added a patch to the package
> in natty and uploaded it (version 1.0.20-0ubuntu4~utouch1) to ppa
> :utouch-team/unstable. Please test out the package once it has been
> built and published to see if it fixes the issue for you.
>
> ** Changed in: utouch-grail
>       Status: Triaged => In Progress
>
> ** Changed in: utouch-grail (Ubuntu)
>       Status: Triaged => In Progress
>
> ** Changed in: utouch-grail
>     Assignee: (unassigned) => Henrik Rydberg (rydberg)
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/748282
>
> Title:
>  4-finger drag also registers 3-finger tap simultaneously
>
> Status in uTouch-grail:
>  In Progress
> Status in “utouch-grail” package in Ubuntu:
>  In Progress
>
> Bug description:
>  Binary package hint: unity
>
>  Test case was: Using a 4-finger drag (to the right) to display the
>  launcher (if hidden).
>
>  http://testcases.qa.ubuntu.com/Applications/Unity/Touch/LauncherRevealed
>
>  The test case passes, however, if there is a window under the current
>  mouse position, then that window is set into "Initiation" mode as a
>  side effect of the 4-finger drag. The reason is that a 3-finger event
>  is also being registered. To measure this, I then did:
>
>   geistest | grep touch= | sort | uniq -c
>
>  And then performed exclusively 4-finger drags for several seconds in different directions. The results:
>
>      11        attr "gesture name" = "Touch,touch=3"
>      210       attr "gesture name" = "Touch,touch=4"
>
>  This suggests that the hardware may be overly sensitive
>  (MacBookPro6.2). At this point it's not clear if this should be a
>  called a bug in the touchpad driver or if unity is responsible for
>  compensating for sensitive touchpads.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 11.04
>  Package: unity 3.8.2-0ubuntu1
>  ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
>  Uname: Linux 2.6.38-7-generic x86_64
>  NonfreeKernelModules: nvidia wl
>  Architecture: amd64
>  CompizPlugins: [core,bailer,detection,composite,opengl,decor,vpswitch,compiztoolbox,regex,snap,imgpng,unitymtgrabhandles,resize,gnomecompat,animation,grid,place,mousepoll,move,expo,wall,workarounds,session,ezoom,staticswitcher,fade,scale,unityshell]
>  Date: Sat Apr  2 15:19:31 2011
>  DistroCodename: natty
>  DistroVariant: ubuntu
>  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64+mac (20110329.1)
>  InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64+mac (20110329.1)
>  InstallationMedia__: Ubuntu 11.04 "Natty Narw...

Read more...

Revision history for this message
Duncan McGreggor (oubiwann) wrote :

573 events! Nice, Chad -- thanks for taking the time to test so thoroughly!!!

And kudos to Henrik for the fix that performed so well during all of those tests :-)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package utouch-grail - 1.0.20-0ubuntu4

---------------
utouch-grail (1.0.20-0ubuntu4) natty; urgency=low

  * Add glue timeout to touch gestures too (LP: #748282)
 -- Chase Douglas <email address hidden> Wed, 20 Apr 2011 10:00:16 -0400

Changed in utouch-grail (Ubuntu):
status: In Progress → Fix Released
Changed in utouch-grail:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in utouch-grail:
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.