{ "id": "122739", "key": "TIMOB-15773", "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": "15711", "description": "2013 Sprint 24", "name": "2013 Sprint 24", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "id": "15712", "description": "2013 Sprint 24 API", "name": "2013 Sprint 24 API", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "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-11-22T20:53:07.000+0000", "created": "2013-11-21T07:12:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "dev-investigate", "module_animation", "qe-3.2.0", "qe-closed-3.2.0", "qe-testadded", "regression", "triage" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-11T10:19:02.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": "Animation does not redraw on view\r\nIt is regression, works fine on SDK: 3.1.3.GA \r\n\r\nSteps to reproduce:\r\n1. Run the below app\r\n{code}\r\n\t\tvar win = Ti.UI.createWindow({\r\n\t\t\tbackgroundColor:'white',\r\n\t\t});\r\n\t\tvar view = Ti.UI.createView({\r\n\t\t\t\t backgroundColor:'red',\r\n\t\t\t\t height:100,\r\n\t\t\t\t width:100,\r\n\t\t\t\t top:0,\r\n\t\t\t\t left:0\r\n\t\t\t\t});\r\n\t\twin.add(view);\r\n\t\t \r\n\t\tvar button = Titanium.UI.createButton({\r\n\t\t title:'Animate',\r\n\t\t width:200,\r\n\t\t height:40,\r\n\t\t bottom:20,\r\n\t\t left: 10\r\n\t\t});\r\n\t\t \r\n\t\tbutton.addEventListener('click', function()\r\n\t\t{\r\n\t\t view.left = 0;\r\n\t\t //view.updateLayout({left:0}); //tried that too, still doesnt work\r\n\t\t view.animate({left:(win.rect.width - view.rect.width), duration:1000});\r\n\t\t alert(\"!! clicked\");\r\n\t\t});\r\n\t\twin.add(button);\r\n\t\t\r\n\t\twin.open();\r\n\r\n{code}\r\n\r\n2. Click Animate button second time.\r\n\r\nExpected:\r\nRed box should animate and move right. On the second click, Square should move to the left instantly and then should animate to the right.\r\n\r\nActual:\r\nOn second click animation does not occur.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Animation: Animation does not redraw on view", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Device : Google Nexus 7, Android Version: 4.2.1\r\nSDK: 3.2.0.v20131120142443\r\nCLI version : 3.2.0-alpha\r\nOS : MAC OSX 10.9\r\nAlloy : 1.3.0\r\nAppcelerator Studio, build: 3.2.0.201311200357\r\nXCode : 5.0.2", "comment": { "comments": [ { "id": "280638", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/5007", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-21T23:49:49.000+0000", "updated": "2013-11-21T23:49:49.000+0000" }, { "id": "280848", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311211626\nTitanium SDK, build: 3.2.0.v20131122125648\nCLI: 3.2.0-alpha\nAlloy: 1.3.0-alpha\nAndroid Simulator: 4.2.2\n\nAnimation redraws on view on second click\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-23T00:55:31.000+0000", "updated": "2013-11-23T00:55:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }