{ "id": "61643", "key": "TIMOB-1011", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-20T18:30:35.000+0000", "created": "2011-04-15T02:41:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "allen-review", "core", "insight", "merge", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "30043", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "81954", "key": "TIMOB-6304", "fields": { "summary": "Android: Button click event not working for transformation, due to handler acting on original rather than transformed location", "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 } } } }, { "id": "30044", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "115272", "key": "TIMOB-14063", "fields": { "summary": "Android: Slider touch events respond to their original location after transformation", "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 } } } }, { "id": "30186", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "105163", "key": "TIMOB-11811", "fields": { "summary": "Android: Bring animation to parity with iOS capabilities", "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": "Critical", "id": "1" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "28159", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "110099", "key": "TIMOB-12842", "fields": { "summary": "2D image transforms are inconsistent between iOS and Android", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-03-11T08:20:40.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": "Android 2.2, Ti SDK 1.3, Horizontal Orientation\r\n\r\nApplying an animation to a view with a tableview child doesn't\r\ntranslate the tableview touch events. The touch events happen at\r\nthe old location - rather than the new location.\r\n\r\nIn the below example, clicking on an item in the tableview won't trigger\r\nan event - but clicking on the place where the item was before the\r\nanimation happened - will trigger the event.\r\n\r\nTest case:\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar vInv = Titanium.UI.createView({\r\n borderRadius:12,\r\n backgroundColor:'black',\r\n width:300,\r\n height:500,\r\n top: 10,\r\n opacity: 1,\r\n anchorPoint: {x:0,y:0},\r\n touchEnabled:true\r\n});\r\n\r\nwin.add(vInv);\r\n\r\nvar tableData = [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ];\r\nvar tv = Ti.UI.createTableView({\r\n\tdata: tableData\r\n});\r\n\r\n\r\ntv.addEventListener('click', function(e) {\r\n\tTi.API.debug(\"***************** TableView Click\");\r\n});\r\n\r\n\r\nvInv.add(tv);\r\n\r\nvInv.show();\r\n\r\nwin.open();\r\n\r\nvar start = Ti.UI.create2DMatrix().translate(0,150);\r\nvInv.animate({transform:start,delay:100,duration:1500});\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Animations Cause the location of touch events to be incorrect", "creator": { "name": "dasher", "key": "dasher", "displayName": "Dasher", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dasher", "key": "dasher", "displayName": "Dasher", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "214204", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with a Samsung Galaxy S3 using TiSDK 2.2.0v20120810194112, issue still exists. ", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-13T15:59:30.000+0000", "updated": "2012-08-13T15:59:30.000+0000" }, { "id": "232270", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Comment from Bill Dawson: In iOS, when you animate a view such as by changing its size (scale animation) or location (translate animation), iOS is kind enough to adjust the touch target. Android'sold animation -- which Ti uses since the new one came about in Honeycomb -- does not do this. So in Ti one has to re-layout the view, which (I believe) is often the source of blips and artifacts seen on older devices. Also it makes the code ugly.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-20T23:48:06.000+0000", "updated": "2012-12-20T23:48:06.000+0000" }, { "id": "249152", "author": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-12842 has a reproducible project the demonstrates the issue, and may actually be a duplicate of this bug.", "updateAuthor": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-26T17:18:09.000+0000", "updated": "2013-04-26T17:18:09.000+0000" }, { "id": "262569", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as a part of https://github.com/appcelerator/titanium_mobile/pull/4398. Please note that this is a \"won't fix\" for versions lower than Honeycomb. This is a native Android limitation that we can't work around.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-20T18:30:35.000+0000", "updated": "2013-07-20T18:30:35.000+0000" }, { "id": "275895", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\n\r\nAppc-Studio: 3.2.0.201310181700\r\nSdk:3.2.0.v20131018154951\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Google Nexus 7(v4.3),iPhone5(v 7)\r\nXcode: 5\r\n\r\n\r\nTouch Events working fine while and after animation.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T08:10:20.000+0000", "updated": "2013-10-21T08:10:20.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }