{ "id": "88189", "key": "TIMOB-8091", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13404", "description": "Sprint 2012-12 Core", "name": "Sprint 2012-12 Core", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-12T06:29:03.000+0000", "created": "2012-03-19T15:42:08.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_animation", "parity", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "17956", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "93725", "key": "TIMOB-9739", "fields": { "summary": "Android: Animation stops working on Android after switching off/on \"Reverse\" function.", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "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": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-07-12T13:17:10.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": "autoreverse property, when passed into view.animate, has no effect whatsoever. Testing step:\r\n1. Run this code in iOS and Android:\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\n\r\n//\r\n// REUSABLE ANIMATION WITH TRANSFORM\r\n//\r\nvar t = Ti.UI.create2DMatrix();\r\nt = t.rotate(90);\r\n\r\n\r\n//\r\n// TOP LEFT\r\n//\r\nvar view1 = Titanium.UI.createView({\r\n\tbackgroundColor:'#336699',\r\n\ttop:10,\r\n\tleft:220,\r\n\theight:50,\r\n\twidth:50\r\n});\r\nwin.add(view1);\r\n\r\nvar topLeft = Titanium.UI.createButton({\r\n\ttitle:'Top Left',\r\n\theight:40,\r\n\twidth:200,\r\n\ttop:10,\r\n\tleft:10\r\n});\r\n\r\ntopLeft.addEventListener('click', function()\r\n{\r\n\tview1.animate({\r\n transform:t, \r\n duration: 1000, \r\n //anchorPoint: {x:0, y:0},\r\n autoreverse: true\r\n });\r\n});\r\n\r\nwin.add(topLeft);\r\nwin.open();\r\n{code}\r\n\r\n2.Observe result in iOS (correct behavior) vs Android.", "attachment": [ { "id": "28250", "filename": "app.js", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-08T16:23:11.000+0000", "size": 1330, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Android: Animation with 'autoreverse' does not work on Android", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "194975", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Vishal, shall we document this, or will it be fixed by the 2.1.0 release?", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-16T07:08:20.000+0000", "updated": "2012-05-16T07:08:20.000+0000" }, { "id": "195131", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul - We would fix this behavior.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T20:45:50.000+0000", "updated": "2012-05-16T20:45:50.000+0000" }, { "id": "197933", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. testing notes\r\n\r\nUse the attached file app.js (you can also try the Javascript code pasted into the ticket description above, but you'll have more fun with the app.js :) ).\r\n\r\nRun it in iPhone and Android, make sure the behavior is the same.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-08T16:24:08.000+0000", "updated": "2012-06-08T16:24:08.000+0000" }, { "id": "197941", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/2366", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-08T17:18:32.000+0000", "updated": "2012-06-08T17:18:32.000+0000" }, { "id": "199904", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Verified with:\r\nTitanium Studio, build: 2.1.0.201206221045\r\nTitanium SDK: 2.1.0.v20120622174154\r\nDevice: Samsung Galaxy (3.2)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-23T12:02:50.000+0000", "updated": "2012-06-23T12:02:50.000+0000" }, { "id": "202908", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-12T06:28:38.000+0000", "updated": "2012-07-12T06:28:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }