{ "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.
\nBug possibly located in TiUIView.java. User has debugged and\ncreated a patch.
\nTicket Reference: http://developer.appcelerator.com/helpdesk/view/66211
\nGitHub Patch created by user:https://github.com/appseleration/titanium_mobile/commit/ad24c453be4...
(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...
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.
Tested with Titanium SDK version: 1.7.0 (03/15/11 11:42 1f6dbfe)\non
\nNexus S 2.3.2
\nEmulator 2.1
Added to stable branch 1_6_X