{ "id": "97864", "key": "TIMOB-10112", "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-08-14T16:28:32.000+0000", "created": "2012-07-24T04:53:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "insight", "module_animation", "qe-and070112", "qe-nfc", "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": "30187", "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 } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-21T10:48:29.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": "A view that is animated with a change in position, shows a trail back to the original position during reversal of animation.\r\n\r\nThis is not a regression. The reversal of animated view did not work in 2.1.0\r\n\r\nSteps to Reproduce:\r\n1. Create an app with code below\r\n2. Lauch the app\r\n3. Click on the blue view\r\n\r\nActual: The blue view animated to a new position and then reverses back. During reverse it shows a trail of the path followed for reversal (Refer to attached screenshot)\r\n\r\nExpected: The animation reversal should be smooth and should not show a reverse trace\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white',\r\n exitOnClose : true\r\n});\r\n \r\nvar viewArgs = {left: 10, top: 0, height: 100, width: 100, backgroundColor: \"blue\"};\r\n\r\ntranslate = Ti.UI.createView(viewArgs);\r\ntranslate.addEventListener(\"click\", function() {\r\n\ttranslate.animate({duration: 500, left: 40, top: 10, autoreverse: true});\r\n});\r\n\r\nwin.add(translate);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "30005", "filename": "AnimateView_2_1_1.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-24T04:53:42.000+0000", "size": 15936, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Views: A view animated to change position shows a trail while reversing", "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 Devices: LG P970 (v2.2), Samsung Tab (v3.2)\r\nRuntime: v8", "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "210252", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "On SDK : 2.1.1.v20120723131610\r\nThe issue is seen on Android 2.2 & 2.3 & 3.2\r\nChecked on Android 4.0.3 & 4.1 its working as expected.\r\n\r\nOn SDK :2.0.1 GA the animation does not autoreverse.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-27T11:46:26.000+0000", "updated": "2012-07-27T11:46:26.000+0000" }, { "id": "236725", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tried this on Google Nexus S but couldn't reproduce. SDK 3.1.0", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-01-31T16:25:33.000+0000", "updated": "2013-01-31T16:25:33.000+0000" }, { "id": "240680", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is still reproducible on the reported devices :- LG P970 (v2.2), Samsung Tab (v3.2) with the titanium sdk:3.1.0.v20130228214607.\r\nNot occurring on device Nexus 7\tAndroid 4.1 and Samsung GALAXY Note Android 2.3.6", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-05T10:02:23.000+0000", "updated": "2013-03-05T10:04:24.000+0000" }, { "id": "266432", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is fixed in master.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T16:28:32.000+0000", "updated": "2013-08-14T16:28:32.000+0000" }, { "id": "276477", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix on android 2.3.X as the min required version is now 2.3\r\nWe do not see any trail while reversing. Thus closing\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201310230601\r\nTi SDK : 3.2.0.v20131022171645\r\nMac OSX : 10.8.5\r\nCLI - 3.2.0 with hash 72f7426b4ee6c2d2883c666d5b7e03906a16012f\r\nAndroid device running 2.3.X", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T22:25:38.000+0000", "updated": "2013-10-23T22:25:38.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }