{ "id": "107081", "key": "TIMOB-12452", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-17T22:04:39.000+0000", "created": "2012-12-26T11:12:53.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "animate", "children", "view" ], "versions": [], "issuelinks": [ { "id": "29642", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "113378", "key": "TIMOB-13671", "fields": { "summary": "Android: animate crashes the app if view has a border", "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 } } } } ], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-22T22:22:50.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": [], "description": "h6.Problem\r\nWhen move a view with borderwidth and the view has children by animation, app will crash.\r\n\r\nh6.Repro sequence\r\n{code}\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor : \"#fff\"\r\n});\r\n\r\nvar box = Ti.UI.createView({\r\n width : 80,\r\n height : 50,\r\n backgroundColor : \"#0f0\",\r\n borderWidth : 2,\r\n layout : \"vertical\"\r\n});\r\n\r\nwindow.add(box);\r\n\r\nvar lbl_name = Ti.UI.createLabel({\r\n top : 5,\r\n width : 150,\r\n height : Ti.UI.SIZE,\r\n text : \"hello\",\r\n color : \"#000\",\r\n textAlign : Ti.UI.TEXT_ALIGNMENT_CENTER\r\n});\r\nbox.add(lbl_name);\r\n\r\n// Animation-Start\r\nvar btn_start = Ti.UI.createButton({\r\n title : 'Start',\r\n bottom : 50,\r\n width : 200\r\n});\r\nbtn_start.addEventListener('click', function() {\r\n var a1 = Titanium.UI.createAnimation();\r\n a1.top = 100;\r\n a1.left = 100;\r\n a1.duration = 1000;\r\n box.animate(a1);\r\n\r\n});\r\n\r\nwindow.add(btn_start);\r\n\r\nwindow.open();\r\n{code}\r\n", "attachment": [ { "id": "34332", "filename": "app.js", "author": { "name": "lixinxin6666@yahoo.co.jp", "key": "lixinxin6666@yahoo.co.jp", "displayName": "lixinxin", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2012-12-26T11:12:53.000+0000", "size": 760, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: view (with borderwidth and child view) animated lead app to crash", "creator": { "name": "lixinxin6666@yahoo.co.jp", "key": "lixinxin6666@yahoo.co.jp", "displayName": "lixinxin", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "lixinxin6666@yahoo.co.jp", "key": "lixinxin6666@yahoo.co.jp", "displayName": "lixinxin", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Android OS 2.3\r\nTitanium SDK 2.1.x, 3.0.0", "comment": { "comments": [ { "id": "257352", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "fixed the cast exception\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4382", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-12T06:09:16.000+0000", "updated": "2013-06-20T10:43:19.000+0000" }, { "id": "415120", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:22:50.000+0000", "updated": "2017-03-22T22:22:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }