Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8679] iOS: ImageView "load" event does not fire with local image

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-04-13T14:07:13.000+0000
Affected Version/sRelease 1.8.3
Fix Version/sRelease 2.1.0, Release 2.0.1, Sprint 2012-08, Release 1.8.3
ComponentsiOS
LabelsSupportTeam, api
ReporterVarun Joshi
AssigneeVishal Duggal
Created2012-04-11T10:26:00.000+0000
Updated2012-04-30T21:48:18.000+0000

Description

Problem

The load event listener does not fire in the 1.8.3 build of April 10, 2012. It does not work for the April 5 and April 4, 2012 versions too.

Steps to Reproduce

1. Run the sample code below: {noformat} var win=Ti.UI.createWindow({ backgroundColor : 'blue' }); var imageView = Ti.UI.createImageView({ image: 'KS_nav_ui.png' }); var imageViewEventListener = function (e) { Ti.API.info('I am in the load'); }; imageView.addEventListener('load', imageViewEventListener); win.add(imageView); win.open(); {noformat}

Expected Result

The API info statement in *imageViewEventListener* should get printed on the console.

Comments

  1. Sabil Rahim 2012-04-12

    Leaving the ticket open for PR against 2_0_X and master
  2. Natalie Huynh 2012-04-13

    Tested with 2.0.1.v20120412163344 with iPad 5.1 and iPhone 3gs 4.3

JSON Source