Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5360] iOS: tabGroup navbar - navBar hidden by the top iOS status bar

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2012-01-06T11:39:15.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-45, Release 1.8.0.1
ComponentsiOS
Labelsios, module_tabgroup, navbar, qe-testadded, regression, tabgroup
ReporterKarol Pomaski
AssigneeBlain Hamon
Created2011-09-26T09:06:08.000+0000
Updated2013-11-15T02:00:54.000+0000

Description

Problem

While going back from the fullscreen window the navBar appear under the iOS top status bar. Take a look at the screenshot.

Reproducible Steps

1. Execute the sample code (portrait mode) 2. Press "Win2" 3. Change the orientation to Landscape 4. Press "Tab1" button on navBar 5. The navBar is hidden by the iOS status bar - is not correctly located

Sample Code

// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');

// create tab group
var tabGroup = Titanium.UI.createTabGroup();


//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff',
    navBarHidden: false,
    tabBarHidden: true
});
var tab1 = Titanium.UI.createTab({  
    icon:'KS_nav_views.png',
    title:'Tab 1',
    window:win1
});

var b1 = Titanium.UI.createButton({
	title:'Win 2',
	height:40,
	width:200,
	top:30
});

win1.add(b1);

b1.addEventListener('click', function(e)
{
    var w = Titanium.UI.createWindow({
	fullscreen:true,
	//url:'new_win.js',
	barColor:'#111'
    });
    
    tab1.open(w);
});

tabGroup.addTab(tab1);  


// open tab group
tabGroup.open();

Associated HelpDesk Ticket

http://appc.me/a/APP-751215

Attachments

FileDateSize
nav3.png2011-09-26T09:06:08.000+0000117807

Comments

  1. Jon Alter 2011-09-30

    Associated Helpdesk Ticket:

    http://appc.me/c/APP-612596
  2. Damien Elmes 2011-10-20

    Could the priority on this one be reconsidered? The statusbar behaviour is currently really broken in 1.8.
  3. Dustin Hyde 2011-12-12

    Bug fixed. Verified on: SDK: 1.8.0.1.v20111212014614 Studio: 1.0.7.201112120322 OS: OS X Lion Devices Tested: iPhone Simulator 4.3
  4. Dustin Hyde 2011-12-12

    Added label qe-port.
  5. Wilson Luu 2012-01-06

    Updating tags

JSON Source