Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2218] nav bar loses background image during window open

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2011-08-31T11:11:15.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-33
ComponentsiOS
Labelsn/a
Reporterctredway
AssigneeShak Hossain
Created2011-04-15T03:13:47.000+0000
Updated2011-08-31T11:11:15.000+0000

Description

See this helpdesk ticket with code.
http://developer.appcelerator.com/helpdesk/view/49741">http://developer.appcelerator.com/helpdesk/view/49741

This issue is when a background image is used in a navbar when a sub window is opened the nav loses the image for a split second.

Tested against 1.5 and 4.1

Comments

  1. Jeff Haynie 2011-04-15

    (from [c6e94779662197c3e08926f22eed072011044c0d]) [#2218] Partial fix, which should address opening a nonmodal window. Modal windows still have issues, but fixing requires deep changes. https://github.com/appcelerator/titanium_mobile/commit/c6e94779662197c3e08926f22eed072011044c0d"> https://github.com/appcelerator/titanium_mobile/commit/c6e947796621...

  2. Blain Hamon 2011-04-15

    As the commit says, this is not a full fix, so leaving in new (since it's not being addressed right now) and because the full fix is too deep for right before release, bumping to 1.6 for now. (Maybe 1.5.1?)

  3. Blain Hamon 2011-04-15

    Watch https://github.com/appcelerator/titanium_mobile/tree/ios_window_refactor"> https://github.com/appcelerator/titanium_mobile/tree/ios_window_ref... for codefixes on this.

  4. Reggie Seagraves 2011-04-15

    Moving navigation issues to Sprint 16.

  5. Anirudh Nagesh 2011-08-23

    The following code snippet can be used to test the fix.
       var tg = Ti.UI.createTabGroup({tabs:[Ti.UI.createTab({
       window:Titanium.UI.createWindow(
       {
          title: 'window title',
          backgroundImage: 'KS_nav_UI.jpg',
          barImage: 'KS_nav_views.png'
       })
       })]});
       tg.open();
       
    This can also be used.
       var win = Ti.UI.createWindow();
       win.add(Ti.UI.iPhone.createNavigationGroup({
       window:Titanium.UI.createWindow(
       {
          title: 'window title',
         backgroundImage: 'KS_nav_UI.jpg',
          barImage: 'KS_nav_views.png'
       })
       }));
       win.open();
       
    It is fixed as per this issue: TIMOB-2959
  6. Shak Hossain 2011-08-31

    We tested it using the latest TiSDK 1.8.x build. It is not reproducible in the latest SDK. Can be closed as not reproducible. - Shak

JSON Source