Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14742

Android: backgroundImage loading two times for window and four times for view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Release 3.1.1
    • Fix Version/s: Release 6.2.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Titanium Studio 3.1.0.201304151600

    • Sprint:
      2017 Sprint 11 SDK

      Description

      Steps to Reproduce
      1. Create a new Classic Default Project
      2. Drop the attached images into the Resources folder
      3. Run the test case
      4. Observe the actual result

      Test case

      var wnd = Ti.UI.createWindow({
      	fullscreen : false
      });
      var view = Ti.UI.createView();
       
      wnd.add(view);
       
      wnd.backgroundImage = "backWnd.png";
      view.backgroundImage = "backView.png";
       
      wnd.open();
      

      Actual Result
      From fastdev console:

       
      [INFO] get app.js: C:\Users\vkorol\Documents\Titanium_Studio_Workspace\backImage\Resources\app.js
      [INFO] get images/backView.png: C:\Users\vkorol\Documents\Titanium_Studio_Workspace\backImage\Resources\android\images/backView.png
      [INFO] get images/backView.png: C:\Users\vkorol\Documents\Titanium_Studio_Workspace\backImage\Resources\android\images/backView.png
      [INFO] get images/backView.png: C:\Users\vkorol\Documents\Titanium_Studio_Workspace\backImage\Resources\android\images/backView.png
      [INFO] get images/backView.png: C:\Users\vkorol\Documents\Titanium_Studio_Workspace\backImage\Resources\android\images/backView.png
      [INFO] get images/backWnd.png: C:\Users\vkorol\Documents\Titanium_Studio_Workspace\backImage\Resources\android\images/backWnd.png
      [INFO] get images/backWnd.png: C:\Users\vkorol\Documents\Titanium_Studio_Workspace\backImage\Resources\android\images/backWnd.png
      

       

      Expected Result
      Background image must be loaded once.

        Attachments

        1. .log
          51 kB
        2. backView.png
          backView.png
          5 kB
        3. backWnd.png
          backWnd.png
          5 kB
        4. diagnostic6713599355514609606.log
          8 kB

          Issue Links

            Activity

              People

              • Assignee:
                lchoudhary Lokesh Choudhary
                Reporter:
                vkorol Viktor Korol
                Reviewer:
                Gary Mathews
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17132
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code