{ "id": "91912", "key": "TIMOB-9151", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13407", "description": "Sprint 2012-11 API", "name": "Sprint 2012-11 API", "archived": true, "released": true, "releaseDate": "2012-06-03" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-05-24T12:07:29.000+0000", "created": "2012-05-16T10:05:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "regression" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T06:08: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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h6.Issue\r\nBlank screen (flickering effect) when pressing back in navGroup. Only reproducible with iOS 4.3 & 2.0.1.x\r\n\r\nh6.Tested on\r\niOS simulator 4.3 & 5\r\n\r\nh6.Expected behavior\r\nScreen do not get a blank screen - as seen in 1.8.2 and 2.1.0 SDKs\r\n\r\nh6.Current behavior\r\nScreen do get a blank screen - as seen in 2.0.1\r\n\r\nh6.Steps to reproduce\r\n1. Throw code to an app.js\r\n2. Click \"Next Page\"\r\n3. Click \"Back\"\r\n4. Notice how the window flickers / get a blank screen only in 2.0.1 with 4.3\r\n\r\nh3.app.js\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nvar rootwin = Ti.UI.createWindow({\r\n\tnavBarHidden:true,\r\n\ttop:'0dp',\r\n\tbottom:'0dp',\r\n\tleft:'0dp',\r\n\tright:'0dp',\r\n\torientationModes:[Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT]\r\n});\r\n\r\nvar rootNav = Ti.UI.iPhone.createNavigationGroup({\r\n\twindow:rootwin,\r\n\torientationModes:[Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT]\r\n});\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n\tbackgroundColor:'red',\r\n\tnavBarHidden:true,\r\n\ttop:0,\r\n\tleft:0,\r\n\tright:0,\r\n\tbottom:0\r\n});\r\n\r\nvar nextPage = Ti.UI.createButton({\r\n\ttitle:'Next Page',\r\n\twidth:'300dp',\r\n\theight:'50dp',\r\n\ttop:0,\r\n\tleft:0\r\n});\r\nwin1.add(nextPage);\r\n\r\nvar testView = Ti.UI.createView({\r\n\tbackgroundColor:'gray',\r\n\t//width:Ti.UI.FILL,\r\n\theight:'300dp',\r\n\ttop:'50dp',\r\n\tbottom:0,\r\n\tright:0,\r\n\tleft:0\r\n});\r\nwin1.add(testView);\r\n\r\nnextPage.addEventListener('click', function(){\r\n\t\r\n\tvar newWin = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'blue',\r\n\t\tnavBarHidden:true,\r\n\t\ttop:0,\r\n\t\tleft:0,\r\n\t\tright:0,\r\n\t\tbottom:0\r\n\t});\r\n\t\r\n\tvar backButton = Ti.UI.createButton({\r\n\t\ttitle:'Back',\r\n\t\twidth:'300dp',\r\n\t\theight:'50dp',\r\n\t\ttop:0,\r\n\t\tleft:0\r\n\t});\r\n\tbackButton.addEventListener('click', function(){\r\n\t\tnav1.close(newWin);\r\n\t});\r\n\tnewWin.add(backButton);\r\n\t\r\n\tnav1.open(newWin);\r\n});\r\n\r\nvar nav1 = Ti.UI.iPhone.createNavigationGroup({\r\n\twindow:win1,\r\n\ttop:0,\r\n\tleft:0,\r\n\tright:0,\r\n\tbottom:0,\r\n\tvisible:false\r\n});\r\n\r\nvar wrapperwin = Ti.UI.createWindow({\r\n\tnavBarHidden:true,\r\n\ttop:0,\r\n\tleft:0,\r\n\tright:0,\r\n\tbottom:0\r\n});\r\nwrapperwin.add(nav1);\r\n\r\nrootwin.add(wrapperwin);\r\n\r\nrootwin.open();\r\nnav1.visible = true;\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Blank screen when pressing back in navigationGroup", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 1.8.2, 2.0.1.GA2, 2.1.0\r\niOS 4.x, 5", "comment": { "comments": [ { "id": "408773", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing issue due to time passed and irrelevance of the ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T06:08:31.000+0000", "updated": "2017-03-03T06:08:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }