{ "id": "102642", "key": "AC-2470", "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-01-25T18:27:01.000+0000", "created": "2012-10-04T04:41:30.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:41:31.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": "view.updateLayout({top:50, left:50});\r\n\r\napp crash when do this", "attachment": [], "flagged": false, "summary": "updateLayout do not work on Android", "creator": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "subtasks": [], "reporter": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "environment": "Titanium SDK 2.1, Android", "comment": { "comments": [ { "id": "227894", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Quang,\r\nI will re-open the issue once the following has been provided:\r\n- Crash log\r\n- A reproducible test case\r\n- Android version, emulator and/or device\r\nIt would also speed things up if you tried it on 2.1.3 GA/2.1.4 GA (Help -> Check for Titanium SDK Updates, change SDK in tiapp.xml).\r\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-19T18:42:53.000+0000", "updated": "2012-11-19T18:42:53.000+0000" }, { "id": "235939", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've set this to resolved so that the issue can now be edited to provide more info. We appreciate your time in helping to improve our platform.\r\n\r\nThanks,\r\nDaniel", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-25T18:27:01.000+0000", "updated": "2013-01-25T18:27:01.000+0000" }, { "id": "283162", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe tested this issue with the test code below. We can’t reproduce this issue in Ti SDK 3.1.3.GA. It is most likely fixed. Please test this issue using the latest release and let us know your feedback. \r\n\r\nh5. Testing Environment:\r\nTi CLI 3.1.2\r\nTitanium SDK: 3.1.3 and later \r\nTitanium SDK 3.1.3 GA\r\nAndroid SDK: 2.3.3\r\niOS -Simulator -iPhone Retina 3.5 inch/iOS 7.0.3\r\nAndroid Device-4.2.2\r\n \r\n \r\n h5. Test Case\r\n {code}\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n \r\n \r\nvar view = Titanium.UI.createView({\t\r\n\t backgroundColor:'red',\r\n\t width:10,\r\n\t height:10\r\n\t\r\n});\r\n \r\n \r\nvar press = Ti.UI.createButton({\r\n\ttitle : 'press',\r\n\theight : 'auto',\r\n\twidth : 'auto',\r\n});\r\n \r\npress.addEventListener('click', function() {\r\n\tview.updateLayout({top:200, left:200});\r\n});\r\n \r\nview.top = 50;\r\nview.left = 50;\r\n \r\nwin1.add(press);\r\nwin1.add(view);\r\nwin1.open();\r\n{code}\r\n\r\nh5. Steps to Reproduce:\r\n# Create a simple project.\r\n# Update this code in app.js \r\n# Run this with testing environment\r\n# App will display red view and button\r\n# Click on button for updateLayout effect \r\n# View position will update \r\n\r\nThanks ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-09T05:53:33.000+0000", "updated": "2013-12-09T06:06:06.000+0000" }, { "id": "283178", "author": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "body": "I think this bug was fixed. Thanks you :)", "updateAuthor": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-12-09T07:48:37.000+0000", "updated": "2013-12-09T07:48:37.000+0000" }, { "id": "283218", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as per test results and updated remark from Quang.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-09T16:18:55.000+0000", "updated": "2013-12-09T16:18:55.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }