Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7363] iOS: flash on transition between splash and tab group when barImage is set

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-02-17T09:29:01.000+0000
Affected Version/sRelease 1.7.5, Release 1.8.0.1
Fix Version/sRelease 1.7.6, Sprint 2012-02, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsn/a
ReporterRadamantis Torres-Lechuga
AssigneeStephen Tramer
Created2012-01-24T16:06:42.000+0000
Updated2014-06-19T12:44:36.000+0000

Description

Actual behavior

The app launch, the splash screen comes up, when the splash goes and the tab group enter, there's a flash on the up bar, and then takes all the attributes (image and color).

Expected behavior

Smooth transition and no flashing when the splash screen goes off, and the tab group goes up.

Notes

It's almost an imperceptible thing, on big apps it's a little bit more notorious, I'm using a background for the bar, I'm attaching the png file, I'm notice that with the barImage propert, happens, without, it's totally imperceptible

Code


var tabGroup = Ti.UI.createTabGroup();

var win1 = Titanium.UI.createWindow({   
  title:'1', 
  backgroundColor:'#000',
  barImage:'navbar.png',
  barColor: '#AAA'
}); 

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

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

Attachments

FileDateSize
navbar.png2012-01-24T16:06:42.000+000011044

Comments

  1. Vishal Duggal 2012-01-25

    Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/1252
  2. Radamantis Torres-Lechuga 2012-01-26

    Checked on: Titanium Studio, build: 1.0.7.201112281340 Host OS: Mac OS X version 10.7.2 iOS SDK: 5.0 Simulator OS 5.0 Devices: iPod Touch 5.0 / iPod Touch 5.0.1 Everything goes good Closing the ticket
  3. Thomas Huelbert 2012-02-21

    emailed Shak asking his group to close

JSON Source