{ "id": "139390", "key": "TIMOB-19169", "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": "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": "2019-12-11T17:58:34.000+0000", "created": "2014-11-11T15:44:20.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "3.4.0", "3.4.1", "TCSupportTriage", "fullscreen", "ios8", "navbar", "reprod", "statusbar" ], "versions": [ { "id": "16919", "description": "Critical updates", "name": "Release 4.1.1", "archived": true, "released": true, "releaseDate": "2015-07-15" } ], "issuelinks": [], "assignee": null, "updated": "2019-12-11T17:58:34.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": "h2. Problem description\r\nOpening a fullscreen window and switch to the landscape mode! Close this window and the underlying navigationwindow. The navbar button of the first navigationwindow is displaced above the statusbar.\r\nThis \tbehavior only appear when you switch from the portrait to the landscape mode in the fullscreen window\r\n\r\nh2. Steps to reproduce\r\n1. Start app in portrait mode\r\n2. Tap the button \"Open Win 2\"\r\n3. Tap the button \"Open FS Win\"\r\n4. Rotate the device to the landscape mode\r\n5. Tap the button \"close\"\r\n6. Tap the button \"Close Win 2\"\r\n7. the Navbar button is displaces \r\n\r\n\r\nh2. Test case\r\n{code:lang=javascript|title=app.js}\r\n(function() {\r\n\tvar orientModes = [Titanium.UI.PORTRAIT,Titanium.UI.UPSIDE_PORTRAIT,Titanium.UI.LANDSCAPE_LEFT,Titanium.UI.LANDSCAPE_RIGHT];\r\n\t\r\n\tvar win1 = Ti.UI.createWindow({backgroundColor: '#FFF'});\r\n\tvar win2 = Ti.UI.createWindow({backgroundColor: '#FFF'});\r\n\t\r\n\twin1.orientationModes = orientModes;\t\r\n\twin2.orientationModes = orientModes;\r\n\t\r\n\tvar closeWin1Btn = Ti.UI.createButton({title: 'Close Win 1'});\t\r\n\tvar closeWin2Btn = Ti.UI.createButton({title: 'Close Win 2'});\r\n\t\r\n\tvar navWin1 = Titanium.UI.iOS.createNavigationWindow({window: win1});\r\n\tvar navWin2 = Titanium.UI.iOS.createNavigationWindow({window: win2});\r\n\t\r\n\tvar openWin2Btn = Ti.UI.createButton({title: 'Open Win 2'});\r\n\tvar openFullscreenWinBtn = Ti.UI.createButton({title: 'Open FS Win'});\r\n\t\r\n\t\r\n\topenWin2Btn.addEventListener('click', function(){\r\n\t\tnavWin2.open();\r\n\t});\r\n\t\r\n\tcloseWin1Btn.addEventListener('click', function(){\r\n\t\tnavWin1.close();\r\n\t});\t\r\n\r\n\tcloseWin2Btn.addEventListener('click', function(){\r\n\t\tnavWin2.close();\r\n\t});\t\r\n\t\r\n\t\t\r\n\topenFullscreenWinBtn.addEventListener('click', function(){\r\n\t\tvar fullscreenWin = Ti.UI.createWindow({backgroundColor: '#000', fullscreen: true});\r\n\t\tvar closeFSWinBtn = Ti.UI.createButton({title: 'close'});\r\n\t\tvar label = Ti.UI.createLabel({left:20,top:20,width:Titanium.UI.FILL,font:{fontSize:12},color: '#FFF', text:'Rotate to landscape mode'});\r\n\t\t\r\n\t\tfullscreenWin.orientationModes = orientModes;\t\t\r\n\t\t\r\n\t\tcloseFSWinBtn.addEventListener('click', function(){fullscreenWin.close();});\r\n\t\t\r\n\t\tfullscreenWin.add(label);\r\n\t\tfullscreenWin.add(closeFSWinBtn);\r\n\t\t\r\n\t\t\r\n\t\tfullscreenWin.open();\r\n\t});\r\n\t\r\n\twin1.add(openWin2Btn);\r\n\t\r\n\twin2.add(openFullscreenWinBtn);\r\n\t\r\n\t\r\n\twin1.leftNavButton = closeWin1Btn;\r\n\twin2.leftNavButton = closeWin2Btn;\r\n\t\r\n\tnavWin1.open();\r\n})();\t\r\n{code}", "attachment": [ { "id": "52455", "filename": "NavBarButton-Landscape-Bug.png", "author": { "name": "Esche", "key": "esche", "displayName": "Markus Eschenbach", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-11-11T15:44:20.000+0000", "size": 30591, "mimeType": "image/png" }, { "id": "52454", "filename": "NavBarButton-Portrait-OKAY.png", "author": { "name": "Esche", "key": "esche", "displayName": "Markus Eschenbach", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-11-11T15:44:20.000+0000", "size": 31130, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Navbar buttons are displaced above the statusbar when using a fullscreen window", "creator": { "name": "Esche", "key": "esche", "displayName": "Markus Eschenbach", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "Esche", "key": "esche", "displayName": "Markus Eschenbach", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK version: 3.4.0 GA & 3.4.1 GA\r\nPlatform & version: & iOS 8.1 & iOS 8.1.1\r\nDevice Details: iPhone 5 and 5S and simulator\r\nHost Operating System: OS X 10.9 & OS X 10.10\r\nTitanium Studio version: 3.4.0.201409261227", "comment": { "comments": [ { "id": "422387", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-20T20:17:17.000+0000", "updated": "2017-06-20T20:17:17.000+0000" }, { "id": "453148", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing. Unable to reproduce the issue.\r\n\r\nAxway Appcelerator Studio, build: 5.1.4.201909061933 \r\nmacOS : 10.15\r\nNode.js Version : 8.9.1\r\nnpm Version : 5.5.1\r\nAppcelerator CLI : 7.1.2\r\nTitanium CLI\r\nCLI Version : 5.2.1\r\nnode-appc Version : 0.2.49\r\nTitanium SDKs : 8.3.0.GA\r\niPhone 11 13.2.2\r\niPhone 8 13.2.2", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-12-11T17:58:34.000+0000", "updated": "2019-12-11T17:58:34.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }