{ "id": "164174", "key": "TIMOB-24068", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-12-08T00:17:52.000+0000", "created": "2016-10-24T22:28:17.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-6.0.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-12-08T00:17:52.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": "*Steps to reproduce*\r\n1. Run the test code\r\n2. Tap on the \"Welcome to Titanium\" for the alert to be displayed\r\n3. Try to rotate the device.\r\n4. Go back to portrait and tap on the input text box.\r\n5. Try to rotate the device\r\n\r\n*Actual Results* \r\nBlank screen shows which Done button. This was tested on Android 4.4.2 and 6.0.1. The same issue occurs on both devices that were used.\r\n\r\n*Expected Results*\r\nAn app launches with a button which says \"Welcome\".\r\n\r\n*Code*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\torientationModes: [Ti.UI.PORTRAIT],\r\n\tbackgroundColor:'#ffffff'\r\n});\r\n \r\n\tvar label = Ti.UI.createLabel({\r\n\t\tcolor:'#000000',\r\n\t\ttext:String.format(L('welcome'),'Titanium'),\r\n\t\theight:'auto',\r\n\t\twidth:'auto'\r\n\t});\r\n \r\n\tlabel.addEventListener('click', function(e) {\r\n\t var alertDialog = Ti.UI.createAlertDialog({\r\n title: \"Alert Dialog\",\r\n message: \"akjskajksa skajskajksjas akjskajskjaks aksjakjsa aksjakjsa aksjakjsa aksjakjsa aksjakjsa aksjakjsa aksjakjsa\",\r\n style: Ti.UI.iPhone.AlertDialogStyle.PLAIN_TEXT_INPUT\r\n });\r\n \r\n alertDialog.show();\r\n\t});\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "App loads on Android but just shows blank screen", "creator": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Studio 4.8.0.201610171310\r\nTi SDK 6.0.0.v20161023042103\r\nAppc CLI 6.0.0-61\r\nTi CLI 5.0.10\r\n", "comment": { "comments": [ { "id": "399738", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~lmorris] Can you help to check if this is a regression and which version this could have worked? Thanks.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-24T23:02:03.000+0000", "updated": "2016-10-24T23:02:03.000+0000" }, { "id": "400371", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lmorris] The test case seems incomplete? Also, why is {{Ti.UI.iPhone.AlertDialogStyle.PLAIN_TEXT_INPUT}} being used on Android?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-04T01:15:27.000+0000", "updated": "2016-11-04T01:15:56.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }