{ "id": "170461", "key": "TIMOB-25560", "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": "19988", "description": "", "name": "Release 7.0.1", "archived": false, "released": true, "releaseDate": "2017-12-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-12-15T18:35:48.000+0000", "created": "2017-11-27T04:50:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios11" ], "versions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-12-20T22:42:47.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": " As [~l0wb1rd] and [~ben.bahrenburg@gmail.com] has put their comment in TIMOB-25267 -\r\n\r\nIf 'extendSafeArea = false' in a NavigationController and navBarHidden: true, safe area at the top is not respected. Only happens with navBarHidden on the window.\r\n\r\nSimilarly if 'extendSafeArea = false' in a TabGroup and 'tabBarHidden: true', safe area at the bottom is not respected.\r\n\r\nTest Case (NavigationBar) -\r\n\r\n\r\n{code:java}\r\nvar win = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window',\r\n extendSafeArea:false,\r\n navBarHidden: true,\r\n});\r\nwin.add(Ti.UI.createLabel({text: 'Hello from Top', top: 0}));\r\nwin.add(Ti.UI.createLabel({text: 'Hello from Bottom', bottom: 0}));\r\n \r\nvar nav = Titanium.UI.iOS.createNavigationWindow({\r\n window: win\r\n});\r\n \r\nnav.open();\r\n{code}\r\n\r\nTest Case (TabBar) - \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'blue',\r\n extendSafeArea:false,\r\n tabBarHidden : true,\r\n});\r\nwin.add(Ti.UI.createLabel({text: 'I am at top',top: 0}));\r\nwin.add(Ti.UI.createLabel({text: 'I am at bottom',bottom: 0}));\r\n \r\nvar tab = Ti.UI.createTab({\r\n window: win,\r\n});\r\n\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n tabs: [tab]\r\n});\r\ntabGroup.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: extendSafeArea property not behave properly if tabBarHidden = true or navBarHidden = true.", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "431514", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master) - https://github.com/appcelerator/titanium_mobile/pull/9638\r\nPR (7_0_X) - https://github.com/appcelerator/titanium_mobile/pull/9658\r\n\r\nTest cases are mentioned in ticket description.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-30T09:18:50.000+0000", "updated": "2017-12-06T05:48:01.000+0000" }, { "id": "432226", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed. Merged PR for 7.0.1.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-15T18:35:35.000+0000", "updated": "2017-12-15T18:35:35.000+0000" }, { "id": "432463", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.*\r\nVerified Fix in SDK version 7.0.1.v20171218104141 and 7.1.0.v20171220095337.\r\n\r\nTest and other information can be found at:\r\nMaster: https://github.com/appcelerator/titanium_mobile/pull/9638\r\n7.0.x: https://github.com/appcelerator/titanium_mobile/pull/9658", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-20T22:42:38.000+0000", "updated": "2017-12-20T22:42:38.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }