[TIMOB-4820] Pre-filed iOS 5 bug: Standard window close animation within tabgroup not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-10-24T10:45:43.000+0000 |
Affected Version/s | Release 1.7.2, Release 1.8.0 |
Fix Version/s | Sprint 2011-42 |
Components | iOS |
Labels | n/a |
Reporter | Alan Leard |
Assignee | Blain Hamon |
Created | 2011-07-28T11:31:20.000+0000 |
Updated | 2011-10-24T14:26:07.000+0000 |
Description
When closing a window in a TabBar-based app, the animation is not behaving properly. The NavBar animates just as you'd expect, but the actual window view just disappears, showing the previous window. Works fine in simulator and using other versions of iOS. Tested on device running iOS 5 beta 3 and beta 4 with the code sample below.
Titanium.UI.setBackgroundColor('#000');
var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Tab 1',
window:win1
});
var label1 = Titanium.UI.createLabel({
color:'#999',
text:'I am Window 1',
font:{fontSize:20,fontFamily:'Helvetica Neue'},
textAlign:'center',
width:'auto'
});
win1.add(label1);
label1.addEventListener('click', function () {
var w = Ti.UI.createWindow({
backgroundColor: 'red'
});
tab1.open(w);
});
tabGroup.addTab(tab1);
tabGroup.open();
Verified not occurring with iPhone 4s (iOS 5.0) with SDK 1.7.4.v20111021181815.
Verified fixed with iPad2 (4.3.5) iPhone 4 ATT (5.0). Closing.
This is still broken...please re-open. Did you try it on the actual device?
Just to clarify...it's still broken in Ti 1.7.4 on iOS5.