geis_subscription_deactivate() always fails

Bug #1021448 reported by Daniel d'Andrada
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geis
Fix Released
Medium
Daniel d'Andrada
geis (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Medium
Francis Ginther

Bug Description

We need this fix backported from Quantal as it's in the code that was changed to the new naming scheme, from utouch-geis to just geis, that must be done in Precise as well.

[Original bug description]
geis_subscription_deactivate() always returns GEIS_STATUS_UNKNOWN_ERROR no matter what.

[Test Case]
Just call geis_subscription_deactivate() from any minimal test/sample application.

[Regression Potential]
I would say it's irrelevant as the fix is a one-liner. It just make the function return the correct status instead of a hardcoded GEIS_STATUS_UNKNOWN_ERROR. All exiting client code that uses this function likely didn't check its return value. So this fix should be absolutely transparent to them.

Related branches

Changed in utouch-geis:
importance: Undecided → Medium
assignee: nobody → Daniel d'Andrada (dandrader)
status: New → In Progress
Changed in utouch-geis:
status: In Progress → Fix Committed
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: New → Fix Released
Changed in geis (Ubuntu Precise):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Francis Ginther (fginther)
description: updated
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Daniel, 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 Daniel, 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 :

I run a simple test application that called geis_subscription_deactivate() on an active subscription and that function returned successfully.

Therefore marking it 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.