Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17634] iOS8: Portrait size window does not resize after rotation to landscape

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-09-15T16:28:20.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 3.4.0, Release 3.5.0
ComponentsiOS
Labelsios8, module_orientation, qe-3.4.0, qe-manualtest, regression
ReporterOlga Romero
AssigneeVishal Duggal
Created2014-09-05T21:19:00.000+0000
Updated2014-11-21T20:29:59.000+0000

Description

To reproduce

app.js
// 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',
	orientationModes:[Titanium.UI.LANDSCAPE_LEFT]
    });
    
    tab1.open(w);
});

tabGroup.addTab(tab1);  


// open tab group
tabGroup.open();
1. Click Win2 2. Return to Tab1 h5. Actual result Portrait size window in landscape mode Note: it is a regression against iOS 7.1

Attachments

FileDateSize
Screen Shot 2014-09-05 at 2.13.12 PM.png2014-09-05T21:19:00.000+000021231
Screen Shot 2014-09-05 at 2.14.18 PM.png2014-09-05T21:19:00.000+000038062

Comments

  1. Jon Alter 2014-09-09

    PR master: https://github.com/appcelerator/titanium_mobile/pull/6033 PR 3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6034
  2. Olga Romero 2014-09-10

JSON Source