Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15757] iOS7: TitleImage renders with delayed position

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-04-21T18:09:19.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sRelease 3.3.0
ComponentsiOS
LabelsSupportTeam, module_navwindow, qe-closed-3.3.0, qe-testadded
ReporterMads Moller
AssigneeVishal Duggal
Created2013-11-06T13:30:33.000+0000
Updated2014-04-25T08:37:22.000+0000

Description

Problem Description

When using the titleImage on Windows, the image is wrongly rendered when going back to previous window in the navigationWindow stack. Its placed in the upper left corder until the navigationWindow has completed the animation, then its repositionen to the center of the navigationBar.

Test case


var win2 = Titanium.UI.createWindow({
    backgroundColor: 'red',
    barImage: "/images/logo.png",
    title: 'Red Window'
});

var navWin = Titanium.UI.iOS.createNavigationWindow({
    window: win2
});

var win3 = Titanium.UI.createWindow({
    backgroundColor: 'blue',
    barImage: "/images/logo.png",
    title: 'Blue Window'
});

var button = Titanium.UI.createButton({
    title: 'Open Window'
});
button.addEventListener('click', function(){
    win1.openWindow(win3, {animated:true});
});

win2.add(button);
navWin.open();
H4. Extra information Please look at this video: titleimage-ios7.mov (attached)

Attachments

FileDateSize
logo.png2013-11-07T22:58:26.000+00003417
titleimage-ios7.mov2013-11-06T13:30:33.000+0000551744

Comments

  1. Ingo Muschenetz 2013-11-07

    Can you please upload the two images associated with the sample code?
  2. Vishal Duggal 2013-11-07

    Probably fixed by TIMOB-11876. Need to verify
  3. Mads Moller 2013-11-07

    Ingo, its only one image. The navigationBar is just a solid barcolor.
  4. Viktor Korol 2014-01-21

    Please fix. It still reproduces in 3.2.0.GA. Related ticket: TIMOB-15599.
  5. Alexey Chulochnikov 2014-01-29

  6. Ingo Muschenetz 2014-01-29

    Tentatively scheduling for 3.3.0.
  7. Sabil Rahim 2014-04-21

    Barimage property has changed since 3.2.0 . Check documentation for more details.http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.Window-property-barImage Do not think this issue is valid anymore. Marking ticket as Cannot Reproduce.
  8. Pragya Rastogi 2014-04-25

    Verified the fix with: OSX: 10.9.2 Xcode: 5.1.1 Studio - 3.3.0.201404211130 SDK - 3.3.0.v20140424130915 acs-1.0.14 alloy-1.4.0-dev npm-1.3.2 titanium-3.3.0-dev titanium-code-processor-1.1.1-beta1 Device: iPhone 5c (7.1)

JSON Source