Project: titanium
Issue TIMOB-15716: iOS: tabGroup window flickers on open if barImage or rightNavButton is set
While opening new window from tab group with navigation bar,a blink is seen in the new window title for a while. In case If we don't set rightnav button or barImage this flicker in the title is not seen. *Steps To Reproduce* : 1.Copy and paste the below code in the newly created project: {code} 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 btn=Ti.UI.createButton({	title:'Details' }); var newWin=Ti.UI.createWindow({	title:'I am Window 1',	backgroundColor:'red',	barImage:'KS_nav_ui.png',	rightNavButton:btn }); 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(){	tab1.open(newWin); }); var win2 = Titanium.UI.createWindow({ title:'Tab 2', backgroundColor:'#fff' }); var tab2 = Titanium.UI.createTab({ icon:'KS_nav_ui.png', title:'Tab 2', window:win2 }); tabGroup.addTab(tab1); tabGroup.addTab(tab2); tabGroup.open(); {code} 2. Run the application and *Click on the label of first Tab*. *Expected result* :A new Window should open with no flicker on its title. *Actual result* : 1. *Classic Titanium* : New window opened with flicker on its title only when *both* BarImage and rightNavButton are set. 2. *Alloy* : New window opened with flicker on its title if either BarImage or rightNavButton are set. *Note* : Please find attached alloy project to reproduce the issue.
Story points: 8