Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1563] iOS: Window titleImage is not animated well

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2014-06-16T21:28:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterIvan Skugor
AssigneeShuo Liang
Created2014-06-06T11:11:25.000+0000
Updated2016-03-08T07:38:01.000+0000

Description

To see this issue, run this code:
var win2 = Ti.UI.createWindow({
	// titleControl: Ti.UI.createImageView({ image: 'appcelerator.png' }),
	titleImage: 'appcelerator.png',
	backgroundColor: '#fff'
});

var win3 = Ti.UI.createWindow({
	titleImage: 'appcelerator.png',
	backgroundColor: '#fff'
});

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

var button = Titanium.UI.createButton({
    title: 'Open Window',
    color: "#000"
});

button.addEventListener('click', function(){
    win1.openWindow(win3);
});

win2.add(button);

var button2 = Titanium.UI.createButton({
    title: 'Close Window',
    color: "#000"
});

button2.addEventListener('click', function(){
    win1.closeWindow(win3);
});

win3.add(button2);

win1.open();
Press "Open Window" button and then "Back" button in navigation bar. Check on the left side how logo doesn't animate.

Attachments

FileDateSize
appcelerator.png2014-06-06T11:32:35.000+00003862

Comments

  1. Shuo Liang 2014-06-09

    Hi, Just Tested your code. When I click "back" button, logo will not be animated well for 1 second. but after 1 second, the logo will display well. That is because the first win page will reload and the title logo will reload as well, after click "back" button. So would you please try your code again and wait for a while after click "back" button, then see what happen. Also would you please try to use SDK 3.2.3 in order to make sure the SDK beta version will not effect your problem. Regards, Shuo
  2. Ivan Skugor 2014-06-09

    I don't think you understand the issue. Logo is not positioned well and is not animated well. Replace logo with text and see how it should look. No, it doesn't work with 3.2.3.GA
  3. Shuo Liang 2014-06-09

    I know what you mean, like I said. In my test, After click the back button, the logo will be displayed in top-left not center at first, but it is only for 1 or 2 seconds. then it will be back to center and animated. Does this situation like yours, or your logo is just not animated and never go back to normal, no matter how long you wait for.
  4. Ivan Skugor 2014-06-09

  5. Shuo Liang 2014-06-10

    Oh I see. seems they fixed the barImage properly but titleImage, I will a ticket to engineer team to get this fixed. Thank you for your report.
  6. Radamantis Torres-Lechuga 2014-06-16

JSON Source