Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15492] iOS7: incorrect title bar height when switching fullscreen to regular tab

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-10-28T19:12:20.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 22, 2013 Sprint 22 API, Release 3.2.0
ComponentsiOS
Labelsios, ios7, module_tabgroup, qe-testadded
ReporterMartin van Mierloo
AssigneeVishal Duggal
Created2013-10-13T05:52:19.000+0000
Updated2014-03-12T11:07:45.000+0000

Description

The second(!) time you open tab 2 the title bar height is incorrect. Code to reproduce the isse:
var win1 = Titanium.UI.createWindow({
	navBarHidden : true, // the bug happens with or without navbar
	fullscreen : true
});

var win2 = Titanium.UI.createWindow({
	title: 'Window 2'
});

var tab1 = Titanium.UI.createTab({
	title : 'Tab 1',
	window : win1
});

var tab2 = Titanium.UI.createTab({
	title : 'Tab 2',
	window : win2
});

var tabGroup = Ti.UI.createTabGroup();

tabGroup.addTab(tab1);
tabGroup.addTab(tab2);
tabGroup.open();

Attachments

FileDateSize
app.js2013-10-13T05:52:19.000+0000437
iOS Simulator Screen shot Oct 13, 2013 7.42.09 AM.png2013-10-13T05:52:19.000+000018324
iOS Simulator Screen shot Oct 13, 2013 7.54.19 AM.png2013-10-13T05:54:57.000+000018604

Comments

  1. Martin van Mierloo 2013-10-13

  2. kosso 2013-10-22

  3. Vishal Duggal 2013-10-24

    Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/4844
  4. Pragya Rastogi 2013-11-12

    Tested and Verified fix with: OSX: 10.8.5 Xcode:5.0 Appcelerator Studio: 3.2.0.201311112306 SDK: 3.2.0.v20131111174605 acs:1.0.7 alloy:1.3.0 npm:1.3.2 titanium:3.2.0 titanium-code-processo:1.0.3 Device: iOS7(v7.0.3)-iPodTouch1

JSON Source