{ "id": "98044", "key": "TIMOB-10153", "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": "13870", "description": "", "name": "Sprint 2012-16 API", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-16T14:58:59.000+0000", "created": "2012-07-26T02:55:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_button", "parity", "qe-and070112", "qe-testadded" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [ { "id": "19876", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "92853", "key": "TIMOB-9405", "fields": { "summary": "Android: slider 'touchEnd' event it's not always fired", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-16T19:25:33.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": "The touchend event is not fired for button when touchmove moves outside the button\r\n\r\nThis is not a regression. This occurs as far as 2.0.1\r\n\r\nSteps to Reproduce:\r\n1. Create an app with code below and launch the app\r\n2. Touch on the button and without ending the touch move finger outside the button\r\n\r\nExpected: The touchend event should fire when touch gesture ends, as in iOS\r\n\r\nActual: touchend event is not fired and touchmove event for button continues to fire even after touchend outside the button\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\t\tvar button = Ti.UI.createButton({\r\n\t\t\ttop:'10%',\r\n\t\t\tbottom:'10%',\r\n\t\t\tleft:'10%',\r\n\t\t\tright:'10%'\r\n\t\t\t});\r\n\t\t\r\n\t\tbutton.addEventListener('touchmove',function(){\r\n\t\t\tTi.API.info('touchmove fired');\r\n\t\t\tbutton.title = 'touchmove fired'\r\n\t\t});\r\n\t\tbutton.addEventListener('touchstart',function(){\r\n\t\t\tTi.API.info('touchstart fired');\r\n\t\t\tbutton.title = 'touchstart fired'\r\n\t\t});\r\n\t\tbutton.addEventListener('touchend',function(){\r\n\t\t\tTi.API.info('touchend fired');\r\n\t\t\tbutton.title = 'touchend fired'\r\n\t\t});\r\n\t\t\r\n\t\twin.add(button);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Button: Touchend event not fired when touchmove gesture moves out of button", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.1.201207171343\r\nTitanium SDK: 2.1.1.v20120723131610\r\nAndroid Device: LG P970 (v2.2)\r\nRuntime: V8", "comment": { "comments": [ { "id": "210711", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Android actually fires a touchcancel (manually) if the point is outside the bounds of the view. ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-31T10:14:23.000+0000", "updated": "2012-07-31T10:14:23.000+0000" }, { "id": "211232", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull request https://github.com/appcelerator/titanium_mobile/pull/2669", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-02T11:19:32.000+0000", "updated": "2012-08-02T11:19:32.000+0000" }, { "id": "213919", "author": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with:\r\nTitanium Studio, build: 2.1.1.201207271312\r\nTitanium SDK, build: 2.2.0.v20120810132430\r\n\r\nDevice:\r\nSamsung Nexus S (4.1.1)\r\n", "updateAuthor": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T17:07:38.000+0000", "updated": "2012-08-10T17:07:38.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }