In our app we use windows (Titanium.UI.Window) which are themed with a barImage and have a titleControl (Titanium.UI.Label) in order to style the title. The windows are organized via tabgroups where per tab window additional windows are opened with animation.
During several cycles of open -> close -> open -> close suddenly the rightNavButton disappears and appears again if the orientation of the device is changed (portrait -> landscape -> portrait).
This only happens on a real device not in simulator!
Further inverstigations revealed that this is due to the workarraound in line #321 of TiUIWindowProxy.m for iOS 5: TiUIWindowProxy.m master at github which has been created before GA of the iOS 5 SDK.
If this workarround is replaced by the correct native implementation (setBackgroundImage) the bug is gone.
I've opened a corresponding issue in JIRA (TC-497)[http://jira.appcelerator.org/browse/TC-497] where you find attached a patch against branches/220.127.116.11 with a proposed implementation which solved the bug for us.
Think you can help? Login to answer this question!