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

Windows: Setting image on an ImageView crashes the app

    Details

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

      Ti SDK: 6.2.0.v20170719160617
      Lumia 550 10.0
      Windows 10 Pro

      Description

      Description

      This is a regression from 6_1_X

      Setting an image on an imageview crashes the app, there are no error logs generated. It occurs when using a blob, file or string, and setting on creation, directly setting the property calling the setter

      var window = Ti.UI.createWindow({ backgroundColor: 'black' });
      var fromFile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'Logo.png');
      var imageView = Ti.UI.createImageView({
          image: fromFile
      });
      window.add(imageView);
      window.open()
      

      Steps to reproduce
      1. Add the above to an existing app.js
      2. Build for Windows
      Actual

      App will crash on start

      Expected

      App should not crash, the default Titanium app logo should show

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi (Inactive)
              Reporter:
              eharris Ewan Harris
              Tester:
              Ewan Harris
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration