{ "id": "103305", "key": "AC-2261", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-03-06T00:05:44.000+0000", "created": "2012-10-13T07:18:55.000+0000", "labels": [ "android", "animation" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:16.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "if a view has borderRadius, then following code has running correctly in SDK 2.1.2 but will cause crash on both emulator and actual device in SDK 2.1.3GA/2.1.4 beta/3.0 beta\r\n\r\nvar view = Ti.UI.createView({ with:100,top:100,left:100,width:100,borderRadius : 10})\r\n\r\nvar a_temp = Ti.UI.createAnimation({\r\n left:200,\r\n duration:300\r\n});\r\nview.animate(a_temp);\r\n\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Animation cause crash whith view with borderRadius", "creator": { "name": "wadezhao", "key": "wadezhao", "displayName": "Wade Zhao", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wadezhao", "key": "wadezhao", "displayName": "Wade Zhao", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 2.1.3GA/2.1.4 beta/3.0 beta\r\nJavascript Engine: Both Rhino and V8\r\nPlatform & version:Android 2.2\r\nDevice Details: Android emulator, Moto ME632, Samsung P1000\r\nHost Operating System: Windows 7 64bit\r\nTitanium Studio version: 2.1.2.201208301612", "comment": { "comments": [ { "id": "240842", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Wade,\n\nCan you provide some further information on this:\n\nScreenshot of the crash\nSmall reproducible test case such as an app.js\n\nThanks for your assistance with this,\nJamie", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-06T00:05:31.000+0000", "updated": "2013-03-06T00:05:31.000+0000" }, { "id": "240920", "author": { "name": "wadezhao", "key": "wadezhao", "displayName": "Wade Zhao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I don't know how to attache a screenshot file, but the error screen is simple, just a alert window, with message \"The Application TEST(process com.test.com) has stopped unexpectedly. Please try again.\"\n\nYou can regenerate this problem by following code with V8 or Rhino and 2.1.3/2.1.4/3.0/3.0.2 SDK on Android 2.2/2.3 Emulator and 2.3/4.0.4 real device.\nOn 4.0.4 real device (Galaxy Note in my case), the App will not display a error message, just no respond, and after a while, will show a dialog with message 'TEST has already stopped'.\n\napp.js:\n/--------------------------------------------------/\nvar win =Ti.UI.createWindow({backgroundColor:'#fff',navBarHidden:true});\nvar view = Ti.UI.createView({width:100,top:100,left:100,height:100,borderRadius:10,backgroundColor:'blue'})\nvar button = Ti.UI.createButton({top:220,title:'Test'});\nbutton.addEventListener('click',function(){\nvar a_temp = Ti.UI.createAnimation({ left:200, duration:300 });\nview.animate(a_temp);\n})\nwin.add(button);win.add(view);\nwin.open();", "updateAuthor": { "name": "wadezhao", "key": "wadezhao", "displayName": "Wade Zhao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-06T09:32:17.000+0000", "updated": "2013-03-06T09:32:17.000+0000" }, { "id": "276285", "author": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This isn't resolved. I'm having the same crash issues with the latest build and the latest SDK. As soon as the view with the border radius tries to animate the entire app crashes.", "updateAuthor": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T00:37:43.000+0000", "updated": "2013-10-23T00:37:43.000+0000" }, { "id": "276286", "author": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Additionally, it doesn't appear to matter which Android SDK version you use. It crashes in all of them.", "updateAuthor": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T00:40:10.000+0000", "updated": "2013-10-23T00:40:10.000+0000" }, { "id": "280635", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Tested with 3.1.3, working fine. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-21T23:40:32.000+0000", "updated": "2013-11-21T23:40:32.000+0000" }, { "id": "285422", "author": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm still crashing in 3.1.3. If I remove the border-radius, border-width, and border-color it works again.", "updateAuthor": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-20T20:53:09.000+0000", "updated": "2013-12-20T20:53:09.000+0000" }, { "id": "285426", "author": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "SCREENSHOT: http://webtys.com/tmp/Screen_Shot_2013-12-20_at_4.04.16_PM.png", "updateAuthor": { "name": "lordbry", "key": "lordbry", "displayName": "Bryant Tyson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-20T21:09:48.000+0000", "updated": "2013-12-20T21:09:48.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }