Individual touches from direct devices should be in window coordinates

Bug #984069 reported by Daniel d'Andrada on 2012-04-17
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geis
Medium
Daniel d'Andrada
utouch-geis (Ubuntu)
Medium
Daniel d'Andrada
Precise
Medium
Daniel d'Andrada

Bug Description

SRU Rationale
=============

[Impact]
This is an enabler for fixing bug 978378 in Unity.
Without it, utouch-geis clients (which includes Unity and utouch-qml among others) will have no way of getting the position of individual touch points from a touchscreen in window coordinates and therefore won't be able to know where exactly each touch point lands on the UI.

[Development Fix]
Quantal is not open yet.

[Stable Fix]
Check attachment called fix-touch-coordinate-space.patch

[Test case]
run geisview (from utouch-geis-tools package) on a device with a touchscreen and check that the position of touch points are shown in window coordinates.

[Regression Potential]
Low. The patch is very small and simple.

Original Bug Report
===================

GeisTouches provided by gesture events (GEIS_EVENT_GESTURE_BEGIN, GEIS_EVENT_GESTURE_UPDATE and GEIS_EVENT_GESTURE_END) should be in window coordinates if they come from a direct device (e.g. touchscreens) and in input device coordinates when from indirect devices (e.g. touchpads/trackpads). This should also be documented in geis.h

Currently they are coming always in device coordinates.

Related branches

Changed in utouch-geis:
assignee: nobody → Daniel d'Andrada (dandrader)
importance: Undecided → Medium
status: New → In Progress
Changed in utouch-geis:
status: In Progress → Fix Committed
Changed in utouch-geis (Ubuntu):
status: New → Fix Committed
assignee: nobody → Daniel d'Andrada (dandrader)
no longer affects: utouch-geis/precise
Daniel d'Andrada (dandrader) wrote :
description: updated
Changed in utouch-geis (Ubuntu Precise):
status: Fix Committed → New

Hello Daniel, or anyone else affected,

Accepted utouch-geis into precise-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!

Changed in utouch-geis (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Clint Byrum (clint-fewbar) wrote :

This upload needs verification so it can progress to precise-updates, as it is blocking the fix for bug #985916, bug #986215, bug #987539, and bug #813819 from entering precise-proposed. Please verify the fix soon!

Daniel d'Andrada (dandrader) wrote :

Verified by running geis-view on a laptop with a touchscreen with metacity running instead of compiz (so that unity wouldn't keep all multitouch events to himself)

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package utouch-geis - 2.2.9-0ubuntu2

---------------
utouch-geis (2.2.9-0ubuntu2) precise-proposed; urgency=low

  * fixed GeisTouches coordinates for direct devices (lp: #984069)
 -- Daniel d'Andrada <email address hidden> Wed, 25 Apr 2012 10:15:57 -0300

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

Other bug subscribers