Unity fails to use multitouch gestures if magic touchpad is connected after Unity has launched

Bug #1009270 reported by Chris Halse Rogers
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Geis
Fix Released
Medium
Chase Douglas
geis (Ubuntu)
Fix Released
Medium
Chase Douglas
Precise
Fix Released
Medium
Francis Ginther

Bug Description

SRU Justification
=================
[Impact]
Without this fix, new multitouch devices connected to a computer after the user has logged in will not be recognized. They will continue to work as normal pointing devices, but they will fail to work for gesture handling.

[Test Case]
Obtain a detachable multitouch device, such as an Apple Magic Trackpad. Leave it disconnected at first. Log in to Unity. Connect the device. Attempt to perform a gesture, such as a four touch tap to open the dash. The gesture should work.

[Regression Potential]
Small. The code change is fairly trivial and should not cause any regression. Any regression that may be seen would involve devices not generating gestures due to mismatched gesture subscriptions. If gestures continue to work for all devices, then there is likely no regression.

Original Bug Report
===================
If I connect my magic touchpad after Unity has launched - in this case, by clicking on it to wake it up and re-pair it with the desktop - then it works fine as a touchpad but Unity fails to receive multitouch (three-finger move, four finger swipe/tap) gestures. Restarting Unity gets those gestures back.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libutouch-geis1 2.2.9-0ubuntu3
ProcVersionSignature: Ubuntu 3.4.0-3.8-generic 3.4.0
Uname: Linux 3.4.0-3-generic x86_64
ApportVersion: 2.1.1-0ubuntu1
Architecture: amd64
CurrentDmesg:
 Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
 dmesg: write failed: Broken pipe
Date: Wed Jun 6 10:25:50 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120321)
LsInput: Error: command ['gksu', '-D', 'Apport', '--', 'env', '-u', 'LANGUAGE', 'LC_MESSAGES=C', 'lsinput'] failed with exit code 127:
MachineType: Intel Corporation 2012 Client Platform
MtDevices: Apple Wireless Trackpad: /dev/input/event12
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.4.0-3-generic root=UUID=aec9f3df-6681-49ab-8357-eaa169fccc7f ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: utouch-geis
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/16/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: ACRVMBY1.86C.0078.P00.1201161002
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Emerald Lake 2
dmi.board.vendor: Intel Corporation
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 9
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrACRVMBY1.86C.0078.P00.1201161002:bd01/16/2012:svnIntelCorporation:pn2012ClientPlatform:pvrTobefilledbyO.E.M.:rvnIntelCorporation:rnEmeraldLake2:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct9:cvrToBeFilledByO.E.M.:
dmi.product.name: 2012 Client Platform
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Intel Corporation

Revision history for this message
Chris Halse Rogers (raof) wrote :
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

I confirm this. I think it always had this problem.
Thanks for the report.

Changed in utouch-geis (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

So bug 944822 didn't get fully fixed.

Changed in utouch-geis (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Chase Douglas (chasedouglas)
Changed in utouch-geis:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Chase Douglas (chasedouglas)
Changed in utouch-geis:
milestone: none → 2.1.11
status: Fix Committed → Fix Released
affects: utouch-geis (Ubuntu) → geis (Ubuntu)
Changed in geis (Ubuntu):
status: In Progress → Fix Released
Changed in geis (Ubuntu Precise):
status: New → In Progress
assignee: nobody → Francis Ginther (fginther)
importance: Undecided → Medium
description: updated
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Chris, or anyone else affected,

Accepted geis into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/geis/2.2.9.1-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in geis (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Chris, or anyone else affected,

Accepted geis into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/geis/2.2.9.2-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Works in quantal but it's still *not* working in precise with libgeis 2.2.9.2-0ubuntu1 from precise-proposed installed.

Marking verification as failed.

tags: added: verification-failed
removed: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote :

I don't want to ask the obvious "was it plugged in?" question here, but were you using a version of unity that's linked against libgeis, rather than libutouch-geis, when you tested this?

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

No. I forgot about this crucial detail. Will do that now. So back to "verification-needed".

tags: added: verification-needed
removed: verification-failed
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Ok, it works with a unity that links against the proposed libgeis instead of the existing libutouch-geis.

Therefore marking as verified.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package geis - 2.2.9.2-0ubuntu1

---------------
geis (2.2.9.2-0ubuntu1) precise-proposed; urgency=low

  * New upstream release. Only change is the following bug fix:
    - Fixes regression that caused GEISv1 clients, such as Unity, to not work
      (LP: #1047596)

geis (2.2.9.1-0ubuntu1) precise-proposed; urgency=low

  * Update debian/watch file for new project name
  * New upstream release.
    - removes XCB back end
    - removes overlapping events when a gesture is accepted (lp: #1001365)
    - fix for excessive timeout on backend init failure (lp: #997630)
    - detect added devices properly (LP: #1009270)
    - fix crash when accepting a gesture (LP: #1015775)
    - fix result value of geis_subscription_deactivate() (LP: #1021448)
    - upstream project renamed to just 'geis'
  * Update packaging for project rename (LP: #1037621)
    - Added Conflicts and Replaces clauses for libgeis-dev, libgeis-doc,
      python-geis and geis-tools
  * Remove patches that have been integrated into upstream
    - remove lp813819-typedef-geis-subscription-flags.patch
    - remove lp985986-fix-touch-delta-calculation.patch
    - remove lp986215-calculate-pinch-delta-as-ratio.patch
    - remove lp987539-add-device-axis-attributes.patch
    - remove lp997630-avoid-starting-dbus-session-on-remote-connection.patch
    - remove fix-touch-coordinate-space.patch (patch for lp984069)
 -- Chase Douglas <email address hidden> Fri, 07 Sep 2012 14:11:40 -0700

Changed in geis (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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.