Tap is sometimes not registered on touchscreens

Bug #667802 reported by Henrik Rydberg
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Grail
Fix Released
High
Henrik Rydberg
Nominated for 1.x by Henrik Rydberg
utouch-grail (Ubuntu)
Fix Released
High
Henrik Rydberg
Maverick
Fix Released
High
Didier Roche-Tolomelli

Bug Description

pushed in -proposed:

 utouch-grail (1.0.16-0ubuntu1) maverick-proposed; urgency=low
 .
   * Report touch down on one-finger entry (LP: #667802)
   * New upstream release.

TEST CASE: Visible on touchscreens. Move a single finger around the screen, and tap lightly with a few seconds interval. The pointer will follow sometimes, and sometimes it will not. With the patch, the pointer will follow every time.

-----------------

Vincent Gerris wrote on 2010-10-04 (from #637106):

What happens is, that if I touch the screen, the cursor does not move from the previous position sometimes.
For example when I touch 6 different places on the screen, the cursor would follow 3 times and the other 3 not (it would remain at the 3rd position).

Things that effect this: when I press harder on the screen, sometimes the cursor does appear on that spot.
When I touch and then drag, the cursor always follows.

This is a confirmed problem, and a patch for it is on its way.

Henrik Rydberg (rydberg)
Changed in utouch-grail:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Henrik Rydberg (rydberg)
Henrik Rydberg (rydberg)
description: updated
Henrik Rydberg (rydberg)
Changed in utouch-grail:
status: In Progress → Fix Released
Revision history for this message
Henrik Rydberg (rydberg) wrote :

SRU: patch for maverick attached

False negatives are felt directly and affect the overall utouch experience. The fix is very simple, therefore I am nominating this for maverick inclusion.

The patch has been run locally for ten days, tested on both touchpads and touchscreens of varying frame rate. A package is available in the utouch unstable ppa (the version name there is 1.0.15+repack2-0ubuntu2, for historical reasons. It is, however, exactly the same package).

The patch affects the logic of single-finger pointer emulation, which is the subject of the test case. The regression potential is thus relatively low.

Revision history for this message
debb1046 (debb1046) wrote :

Doesn't quite work for me. Still need to drag a tiny amount instead of simply tapping.

Revision history for this message
Henrik Rydberg (rydberg) wrote :

How did you test this? Using the ppa:utouch-team/unstable ppa? Are you using a touchscreen? Which kind? Did you reboot?

Henrik Rydberg (rydberg)
Changed in utouch-grail:
status: Fix Released → New
Revision history for this message
debb1046 (debb1046) wrote :

Yes, added ppa:utouch-team/unstable ppa, apt-get update, apt-get upgrade & reboot

Using the WeTab touchscreen that you included in egalax-hid this morning

It's not bad if you know you have to drag the cursor a little bit, but for a user not aware of this it could be frustrating

Revision history for this message
Henrik Rydberg (rydberg) wrote :

I am asking because I have tested this very explicitly on a joojoo, with a similar DWAV device. Since the support for your device is brand new, it would be good to go through some other tests in that other bug first, before attributing your problem to this particular bug.

Revision history for this message
debb1046 (debb1046) wrote :

Point well taken. After all, we have only a couple of hours experience. If you need something tested pls. let me know.

Revision history for this message
Henrik Rydberg (rydberg) wrote :

If you are on IRC, you find us in #ubuntu-touch

Revision history for this message
Henrik Rydberg (rydberg) wrote :

debb1046, just to make sure - we have a second patch judged too complex for the SRU. If you can apply and test it, does it make any different for you?

Revision history for this message
Henrik Rydberg (rydberg) wrote :
Revision history for this message
Henrik Rydberg (rydberg) wrote :

debb1046,

If you are up for it, this issue seems to be a perfect example to start our user test database.

1. Compile evemu (bzr branch lp:utouch-evemu)

2. Find the event node of your device (grep -i galax /proc/bus/input/devices -A4 | grep H:)

3. Extract the device definition (sudo ./tools/evemu-describe /dev/input/eventX > wetab.prop)

4. Start a recording (sudo ./tools/evemu-record /dev/input/eventX > wetab.event)

5. Perform the test that fails - the recording will stop after ten seconds of inactivity.

6. Attach the wetab.prop plus wetab.event files here with a description of the failure.

With this data, it is possible to reproduce the problem exactly, and the test can be used during development.

Thanks!

Revision history for this message
debb1046 (debb1046) wrote :

I applied patch from #9 to utouch-grail_1.0.15-0ubuntu1. The problem persists and there is an additional problem where it thinks I have lifted my finger when dragging (I get interrupted lines in tuxpaint)

Attaching wetab.prop

Revision history for this message
debb1046 (debb1046) wrote :

Here is wetab.event for utouch-grail_1.0.15-0ubuntu1 with patch 0002. I am hitting keys on onboard.

Revision history for this message
debb1046 (debb1046) wrote :

Went back to the version 1.0.15+repack2-0ubuntu2~utouch1 from unstable ppa and recorded same activity

Revision history for this message
MacRules (macrules) wrote :

I also upgraded to the repack2 version.
I found no improvements in the pointer behaviour after a reboot.
I still have to move my finger sometimes.

I have the GeneralTouch Win7 TwoFinger device.

Is some form of calibration required?

Revision history for this message
Henrik Rydberg (rydberg) wrote :

Thank you very much for the evemu data. With it, I was able to reproduce the problem, and it seems the package in the unstable ppa is not applying the patch properly. Without the patch, replaying the sequence would only move the pointer a couple of times. With the patch applied, the pointer would move between 11 distinct positions. Those positions can also be seen using mtview.

Please find attached two debian packages. The first one, test1, is the package as it should have been in the unstable ppa, with the patch in question properly applied. The second package is with the additional patch which is applied for natty only (so far). Please test them - if everything is correct, you should find that both work.

Thanks!

Revision history for this message
Henrik Rydberg (rydberg) wrote :
Revision history for this message
MacRules (macrules) wrote :

Hi Henrik,

Thank you very much for your quick response.
I am running the 32bit version, is there a package for that too?
Then I can test this too.

Revision history for this message
Henrik Rydberg (rydberg) wrote :

The attached package is built yet another way, using the packaging.quilt branch, proposed to be merged into this SRU. The irony is that the quilt patch was included in the first version of the package, and later removed as someone assured it would work. It probably does in some settings, but apparently not in mine. :-)

So: expected result with this i386 package (test3) is the same as with test1.

Revision history for this message
MacRules (macrules) wrote :

Hi Henrik,

Whatever works, and this one definitely does :).
Thank you very much!
If you need any additional logs ore other info please let me know.

Revision history for this message
debb1046 (debb1046) wrote :

I could also install only the -test3, having 32 Bit version installed. I confirm that -test3 works very well. Hooray!

Revision history for this message
Henrik Rydberg (rydberg) wrote :

I am glad to hear that. :-)

So, to recap, the fix does solve the problem, but there was a problem with the package itself. The fix for it has been merged, and a new version has been uploaded to ppa:utouch-team/unstable. The uploaded package should be identical to test3 above, but please test. With confirmation, we can hopefully get the fix into -proposed this week.

Thanks!

Revision history for this message
Vincent Gerris (vgerris) wrote :

I removed the manual install in Synaptic and let it do it's thing with the unstable ppa active.
I now have this version: 1.0.15+repack2-0ubuntu2~utouch2 of libutouch-grail1.

My pointer still behaves like it should.
Is that the test you were looking for?
Thank you, also on behalf of MacRules :)

Revision history for this message
debb1046 (debb1046) wrote :

All is well on WeTab, too.

Revision history for this message
Henrik Rydberg (rydberg) wrote :

So that's a wrap - time for a sponsored upload. :-)

Thanks for testing!

Revision history for this message
Duncan McGreggor (oubiwann) wrote : Re: [Bug 667802] Re: Tap is sometimes not registered on touchscreens

----- Original message -----
> So that's a wrap - time for a sponsored upload. :-)

Nicely done!

Henrik Rydberg (rydberg)
Changed in utouch-grail:
status: New → Fix Committed
Henrik Rydberg (rydberg)
Changed in utouch-grail:
status: Fix Committed → Fix Released
Changed in utouch-grail (Ubuntu):
status: New → Triaged
Changed in utouch-grail (Ubuntu Maverick):
status: New → Triaged
assignee: nobody → Didier Roche (didrocks)
importance: Undecided → High
Changed in utouch-grail (Ubuntu):
importance: Undecided → High
Revision history for this message
Mohamed IKBEL Boulabiar (boulabiar) wrote :

I haven't noticed any regressions with my configurations using the new package.
Tested with ntrig and magic trackpad.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Hey Henrik, just to confirm from lp:~utouch-team/utouch-grail/packaging branch, I get this:

dpkg-source: info: construction de utouch-grail à partir de ./utouch-grail_1.0.16.orig.tar.gz
patching file src/grail-api.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/grail-api.c.rej
dpkg-source: erreur: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/0001-Report-touch-down-on-one-finger-entry.patch/ < utouch-grail-1.0.16.orig.shaNdj/debian/patches/0001-Report-touch-down-on-one-finger-entry.patch a produit une erreur de sortie de type 1
dpkg-buildpackage: erreur: dpkg-source -i -I -b utouch-grail-1.0.16 a produit une erreur de sortie de type 2
debuild: fatal error at line 1337:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
bzr: ERROR: The build failed.

-> So debian/patches/0001-Report-touch-down-on-one-finger-entry.patch doesn't apply, I think you included it to 1.0.16 from the source. Once removed, it builds fine on both natty and maverick. Just a confirmation is needed before I sponsor to -proposed.

Revision history for this message
Henrik Rydberg (rydberg) wrote : Re: [Bug 667802] Re: Tap is sometimes not registered on touchscreens

Hi Didier,

> Hey Henrik, just to confirm from lp:~utouch-team/utouch-grail/packaging

> branch, I get this:

This is the packaging branch we use for natty.

> dpkg-source: info: construction de utouch-grail à partir de ./utouch-grail_1.0.16.orig.tar.gz
> patching file src/grail-api.c
> Reversed (or previously applied) patch detected! Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file src/grail-api.c.rej
> dpkg-source: erreur: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/0001-Report-touch-down-on-one-finger-entry.patch/ < utouch-grail-1.0.16.orig.shaNdj/debian/patches/0001-Report-touch-down-on-one-finger-entry.patch a produit une erreur de sortie de type 1
> dpkg-buildpackage: erreur: dpkg-source -i -I -b utouch-grail-1.0.16 a produit une erreur de sortie de type 2
> debuild: fatal error at line 1337:
> dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
> bzr: ERROR: The build failed.
>
> -> So debian/patches/0001-Report-touch-down-on-one-finger-entry.patch
> doesn't apply, I think you included it to 1.0.16 from the source. Once
> removed, it builds fine on both natty and maverick. Just a confirmation
> is needed before I sponsor to -proposed.

Yes, utouch-grail/packaging contains the change in source, whereas
utouch-grail/packaging.maverick contains the change as a patch. The patch and
special packaging.maverick branch was made to avoid modifying the main package
version in the SRU. In practice, both branches contain the same change. Please
pick the one you find most suitable, and we can adjust accordingly.

Thanks,
Henrik

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Hey Henrik,

ok, but your branch contains the patches where it shouldn't: http://bazaar.launchpad.net/~utouch-team/utouch-grail/packaging/files/head:/debian/patches/

So, I'm removing it and push the removal as rev 65 :)

Thanks for clearing that up, I'm sponsoring now!

description: updated
Revision history for this message
Henrik Rydberg (rydberg) wrote :

> ok, but your branch contains the patches where it shouldn't:

> http://bazaar.launchpad.net/~utouch-team/utouch-
> grail/packaging/files/head:/debian/patches/

Oh! Thanks for the fix, pulled and tested.

Revision history for this message
Martin Pitt (pitti) wrote :

Please upload to natty ASAP, too. Thanks!

Changed in utouch-grail (Ubuntu Maverick):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted utouch-grail into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Henrik Rydberg (rydberg) wrote :

Version 1.0.16-0ubuntu1 seems to behave as expected.

Revision history for this message
debb1046 (debb1046) wrote :

Works well on WeTab

Revision history for this message
Martin Pitt (pitti) wrote :

utouch-grail | 1.0.16-0ubuntu1 | maverick-proposed | source

tags: added: verification-done
removed: verification-needed
Changed in utouch-grail (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Oops, wrong version. What I meant to say is, please uplaod 1.0.16 to natty ASAP, so that this can progress to maverick-updates. Thanks!

Changed in utouch-grail (Ubuntu):
assignee: nobody → Henrik Rydberg (rydberg)
status: Fix Released → Triaged
Revision history for this message
Henrik Rydberg (rydberg) wrote :

Didier, may we ask for your kind sponsoring once again?

Revision history for this message
Oliver Grawert (ogra) wrote :

i was about to sponsor the upload, but the branches are a bit messed up now.
https://code.launchpad.net/~utouch-team/utouch-grail/packaging contains a tag and changelog entry for maverick-porposed and there seems to be no plain natty branch atm to pull from for a sponsored upload.
please provide a branch for natty specifically or revert/change the tag and changelog entry in the natty packaging branch.

Revision history for this message
Henrik Rydberg (rydberg) wrote :

Thanks for looking into this. A natty branch has been linked here, and a merge request into packaging is pending. Is the change satisfactory? (https://code.launchpad.net/~utouch-team/utouch-grail/packaging.natty)

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

This bug was fixed in the package utouch-grail - 1.0.16-0ubuntu2

---------------
utouch-grail (1.0.16-0ubuntu2) natty; urgency=low

  * rebuild the -updates maverick version with natty toolchain (LP: #667802)
 -- Didier Roche <email address hidden> Tue, 23 Nov 2010 13:04:23 +0100

Changed in utouch-grail (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
utouch-grail (1.0.16-0ubuntu1) maverick-proposed; urgency=low

  * Report touch down on one-finger entry (LP: #667802)
  * New upstream release.
 -- Henrik Rydberg <email address hidden> Mon, 08 Nov 2010 21:02:29 +0100

Changed in utouch-grail (Ubuntu Maverick):
status: Fix Committed → Fix Released
Alex Turkov (alcoolz)
description: updated
tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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