{ "id": "63488", "key": "TIMOB-2856", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11245", "name": "Sprint 2011-10", "archived": true, "released": true, "releaseDate": "2011-03-14" }, { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-18T13:49:27.000+0000", "created": "2011-04-15T03:31:17.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "bug", "defect", "klist", "patch", "release-1.6.2", "release-1.7.0", "reported-1.6.0", "rplist", "touchend" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-18T13:49:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Touchend events seem to be broken on buttons and views on\nAndroid.

\n

Bug possibly located in TiUIView.java. User has debugged and\ncreated a patch.

\n

Ticket Reference: http://developer.appcelerator.com/helpdesk/view/66211

\n

GitHub Patch created by user:https://github.com/appseleration/titanium_mobile/commit/ad24c453be4...

{html}", "attachment": [], "flagged": false, "summary": "Android: Touchend Events are broken", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129563", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [3d339534f6d4f8e414ec1d6c9da571aa798b6fc4])\nUse correct coordinates when checking touch up versus touch cancel\nin TiUIView. Kudos and thanks to Nils Domrose for pointing it\nout.[#2856 state:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/3d339534f6d4...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:31:18.000+0000", "updated": "2011-04-15T03:31:18.000+0000" }, { "id": "129564", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

For QA tester: you can see the fail case and fix in Kitchen\nSink. Go to the Base UI - Window Events test. If you tap anywhere\non that label down below, the one that reads \"try to trigger each\nevent\", you'll see that your click produces a touchstart and a\ntouchcancel event. <-- that's the fail case, because it doesn't\nmake sense. A \"touchcancel\" is when you touch-and-hold on a view\n(such as that label), move off of the view, then lift your finger.\nIf you just tap a view, you should be firing\ntouchstart->touchend, not touchstart->touchcancel.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:31:18.000+0000", "updated": "2011-04-15T03:31:18.000+0000" }, { "id": "129565", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with Titanium SDK version: 1.7.0 (03/15/11 11:42 1f6dbfe)\non
\nNexus S 2.3.2
\nEmulator 2.1

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:31:19.000+0000", "updated": "2011-04-15T03:31:19.000+0000" }, { "id": "129566", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Added to stable branch 1_6_X

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:31:19.000+0000", "updated": "2011-04-15T03:31:19.000+0000" }, { "id": "130947", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Setting affectedVersion. Not possible w/o reopening.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-18T13:05:58.000+0000", "updated": "2011-04-18T13:05:58.000+0000" }, { "id": "130953", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "updated fixed versions, closing.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-18T13:49:27.000+0000", "updated": "2011-04-18T13:49:27.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }