{ "id": "76209", "key": "TIMOB-4359", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-27T18:00:02.000+0000", "created": "2011-06-10T04:45:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-27T18:00:02.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": "When creating a window, adding a navigation group to it, and adding a window to that navigation group, and then opening the root window as a modal window, when you open it the first time, it works fine, but then if you close it and then open it again, the window slides all the way up to the top of the screen and the navbar slides up partially underneath the status bar (the same behavior that would occur if the status bar was completely hidden, but it's not)\r\n{code}\r\nvar open = Ti.UI.createButton({\r\n\ttitle:'Open nav group',\r\n\twidth:200,\r\n\theight:40\r\n});\r\nopen.addEventListener('click', function() {\r\n\tmodal.open({modal:true});\r\n});\r\nTi.UI.currentWindow.add(open);\r\n\r\nvar modal = Ti.UI.createWindow({\r\n\tnavBarHidden:true\r\n});\r\n\r\nvar modalWin = Ti.UI.createWindow({\r\n\tbackgroundColor:\"red\"\r\n});\r\n\r\nvar nav = Ti.UI.iPhone.createNavigationGroup({\r\n\twindow:modalWin\r\n});\r\n\r\nvar done = Titanium.UI.createButton({\r\n\tsystemButton:Titanium.UI.iPhone.SystemButton.DONE\r\n});\r\n\r\nmodalWin.rightNavButton = done;\r\ndone.addEventListener('click',function()\r\n{\r\n\tmodal.close();\r\n});\r\n\r\nmodal.add(nav);\r\nmodal.open({modal:true});\r\n{code}", "attachment": [], "flagged": false, "summary": "Nav bar appears underneath status bar", "creator": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 4.1+, Ti SDK 1.6.0 + ", "comment": { "comments": [ { "id": "184050", "author": { "name": "toddtrann", "key": "toddtrann", "displayName": "Todd Trann", "active": true, "timeZone": "America/Regina" }, "body": "We are seeing similar behaviour with one of our apps on iOS 4.2.1, using mobile SDK 1.8.2. It doesn't happen with iOS 5. Are you able to replicate this problem?", "updateAuthor": { "name": "toddtrann", "key": "toddtrann", "displayName": "Todd Trann", "active": true, "timeZone": "America/Regina" }, "created": "2012-02-23T08:44:24.000+0000", "updated": "2012-02-23T08:44:46.000+0000" }, { "id": "424978", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-27T18:00:02.000+0000", "updated": "2017-07-27T18:00:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }