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

Windows: Setting images on ImageView will crash the app

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.4.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Tested on Windows Phone 8.1 simulator with SDK 5.4.0.v20160617074028 and Alloy 1.8.7

    • Story Points:
      8
    • Sprint:
      2016 Sprint 13 SDK

      Description

      When setting an array of images to an imageview the app crashes. Attached are array of images used. When the images array is stripped out and replaced by "image" and just the first image it will not crash but show the image.

      This is code:

      "#loader": {
          width: 75,
          height: 75,
          backgroundColor: '#88ffffff',
          zIndex: 99,
          borderRadius: 3
      }
       
      "#loaderImage": {
          visible: true,
          images: [
              '/images/loader/Roamler_app_loader_00.png',
              '/images/loader/Roamler_app_loader_01.png',
              '/images/loader/Roamler_app_loader_02.png',
              '/images/loader/Roamler_app_loader_03.png',
              '/images/loader/Roamler_app_loader_04.png',
              '/images/loader/Roamler_app_loader_05.png',
              '/images/loader/Roamler_app_loader_06.png',
              '/images/loader/Roamler_app_loader_07.png',
              '/images/loader/Roamler_app_loader_08.png',
              '/images/loader/Roamler_app_loader_09.png',
              '/images/loader/Roamler_app_loader_10.png',
              '/images/loader/Roamler_app_loader_11.png',
              '/images/loader/Roamler_app_loader_12.png',
              '/images/loader/Roamler_app_loader_13.png',
              '/images/loader/Roamler_app_loader_14.png',
              '/images/loader/Roamler_app_loader_15.png',
              '/images/loader/Roamler_app_loader_16.png',
              '/images/loader/Roamler_app_loader_17.png',
              '/images/loader/Roamler_app_loader_18.png',
              '/images/loader/Roamler_app_loader_19.png',
              '/images/loader/Roamler_app_loader_20.png',
              '/images/loader/Roamler_app_loader_21.png',
              '/images/loader/Roamler_app_loader_22.png',
              '/images/loader/Roamler_app_loader_23.png',
              '/images/loader/Roamler_app_loader_24.png',
              '/images/loader/Roamler_app_loader_25.png',
              '/images/loader/Roamler_app_loader_26.png',
              '/images/loader/Roamler_app_loader_27.png',
              '/images/loader/Roamler_app_loader_28.png',
              '/images/loader/Roamler_app_loader_29.png'
          ],
          duration: 67,
          width: 75,
          height: 75
      }
      

      <Alloy>
          <View id="loader">
              <ImageView id="loaderImage" />
          </View>
      </Alloy>
      

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              topener Rene Pot
              Reviewer:
              Christopher Williams
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code