Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18545] iOS: ImageView load event is not triggered in 64 bits build

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-02-10T18:22:20.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sRelease 4.0.0
ComponentsiOS
LabelsSupportTeam
ReporterMauro Parra-Miranda
AssigneeVishal Duggal
Created2015-02-10T15:43:19.000+0000
Updated2015-03-06T01:24:19.000+0000

Description

Problem Description

The load event in an ImageView is not being triggered in 64 bits build, only happens with the 64 bit build (i.e. , this doesn't happen in the app in 32 bits build, like when you compile with 3.4.1).

Steps to reproduce

1. Create a new Mobile Project (Classic Titanium) 2. Replace app.js with this:
var win = Ti.UI.createWindow({
	backgroundColor:'white',
});
setTimeout(function() { 
var image  = Ti.UI.createImageView({
    image:'KS_nav_views.png',
    touchEnabled:false,
});

image.addEventListener('load',function(){
	Ti.API.info('loaded');
});
win.add(image);
},1000);

win.open();
3. Run it in device or simulator

Actual Results

The load even is never triggered (i.e., no 'loaded' message in the console).

Expected Results

The load event to be triggered (and the 'loaded' message appearing in the console).

Extra info

This won't happen when compiling with 3.4.1, even in the same device. Only happens with 64 bits build.

Comments

  1. Ingo Muschenetz 2015-02-10

    [~mpmiranda] To clarify: * The ticket says "iOS 8". Is it iOS 8-specific? Does it happen on iOS 7 as well? If so, the ticket should only say "iOS" in the summary. * You mention 64-bit devices. So, that's to say it only happens on an iPhone 6 with 3.5.0? What happens if I use an iPhone 4S? I believe you mean that it happens with a 64-bit build, not a 64-bit device.
  2. Vishal Duggal 2015-02-10

    Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6630
  3. Ewan Harris 2015-03-06

    Verified fix on: Mac OSX 10.10.2 Appcelerator Studio, build: 4.0.0.201502171827 Titanium SDK build: 4.0.0.v20150305101012 Titanium CLI, build: 3.5.0-dev Alloy: 1.6.0-alpha Xcode 6.1.1 iPhone 6 Plus (8.1.3), iPhone 6 Plus (8.3b), iPhone 5c (7.1.1) Built to devices, when the image view loads the load event is triggered. Closing ticket.

JSON Source