Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14937] iOS 7: NavigationGroup on Tab displays windows with wrong height

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-27T21:04:16.000+0000
Affected Version/sRelease 3.1.2
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API, Release 3.1.3, Release 3.2.0
ComponentsiOS
LabelsIOS7, NavigationGroup, Tab, module_tabgroup, qe-closed-3.1.3, qe-port, qe-testadded
ReporterThomas Neerup
AssigneeVishal Duggal
Created2013-08-22T09:24:04.000+0000
Updated2014-04-22T07:03:07.000+0000

Description

*Steps to Reproduce* 1. Create new mobile project (Alloy) 2. Paste attached index.xml into project 3. Run project *Actual Result* When running in iOS 7, the blue window in the NavigationGroup is displayed with wrong height. It works on iOS 6. *Expected Result* The blue window int the NavigationGroup should fill the tab.

Attachments

FileDateSize
fixed.png2013-08-28T21:14:16.000+000027207
index.xml2013-08-22T09:24:05.000+0000384
Screen Shot 2013-08-22 at 11.26.27.png2013-08-22T09:27:01.000+000022821

Comments

  1. Olga Romero 2013-08-23

    Reproduced the issue with: Appcelerator Studio, build: 3.1.3.201308201707 Titanium SDK, build: 3.1.3.v20130822140128 CLI: 3.1.2 alloy: 1.2.1-cr Device: iPhone5 iOS7
  2. Vishal Duggal 2013-08-27

    Non Alloy Test Case
       var tabGrp = Ti.UI.createTabGroup({
       	backgroundColor:'white',
       	orientationModes:[Ti.UI.PORTRAIT,Ti.UI.LANDSCAPE_LEFT,Ti.UI.LANDSCAPE_RIGHT]
       })
       
       var win1 = Ti.UI.createWindow({
       	backgroundColor:'red',
       	navBarHidden:true,
       })
       
       var win2 = Ti.UI.createWindow({
       	backgroundColor:'green',
       	title:'two'
       })
       
       var win3 = Ti.UI.createWindow({
       	backgroundColor:'blue',
       	title:'one'
       })
       
       
       var navGrp = Ti.UI.iPhone.createNavigationGroup({
       	window:win3
       })
       
       win1.add(navGrp);
       
       var tab1 = Ti.UI.createTab({
       	window:win1,
       	title:'TAB1'
       })
       var tab2 = Ti.UI.createTab({
       	window:win2,
       	title:'TAB2'
       })
       
       tabGrp.addTab(tab1)
       tabGrp.addTab(tab2)
       
       tabGrp.open();
       
  3. Vishal Duggal 2013-08-27

    PR against master https://github.com/appcelerator/titanium_mobile/pull/4606
  4. Sabil Rahim 2013-08-27

    MASTER PR MERGED [~vduggal] go ahead and make the back port.
  5. Vishal Duggal 2013-08-28

    Backport PR https://github.com/appcelerator/titanium_mobile/pull/4613
  6. Olga Romero 2013-08-28

    Tested and verified fixed with: Mac osx 10.8.4 Mountain Lion Appcelerator Studio, build: 3.1.3.201308252005 Titanium SDK, build:3.1.3.v20130828104626 alloy:1.2.1 CLI:3.1.2 Xcode5-DP6 Devices: Ipad4 iOS 7 beta6(11A4449d) iPnone5 iOS 7 beta6 Note: screenshot attached (fixed.png)

JSON Source