{ "id": "63412", "key": "TIMOB-2780", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-22T22:49:33.000+0000", "created": "2011-04-15T03:29:21.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-22T22:49:33.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Ever since I upgrade to v1.5 the ImageView is not firing the\r\nload event. Not sure if this is a bug or permanent thing. If\r\npermanent, then it should be removed from docs.

{html}", "attachment": [ { "id": "18213", "filename": "app.js", "author": { "name": "danieltome", "key": "danieltome", "displayName": "Daniel Tome", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:22.000+0000", "size": 582, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: ImageView not firing 'load' event", "creator": { "name": "tylerjohnson", "key": "tylerjohnson", "displayName": "Tyler Johnson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tylerjohnson", "key": "tylerjohnson", "displayName": "Tyler Johnson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129396", "author": { "name": "tylerjohnson", "key": "tylerjohnson", "displayName": "Tyler Johnson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Other people are having this problem: \nhttp://developer.appcelerator.com/question/90961/webview-load-event...

{html}", "updateAuthor": { "name": "tylerjohnson", "key": "tylerjohnson", "displayName": "Tyler Johnson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:22.000+0000", "updated": "2011-04-15T03:29:22.000+0000" }, { "id": "129397", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Going to assume this is iOS, but we can test and reassign to\nAndroid if necessary.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:23.000+0000", "updated": "2011-04-15T03:29:23.000+0000" }, { "id": "129398", "author": { "name": "danieltome", "key": "danieltome", "displayName": "Daniel Tome", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I've logged a question here with some code proving this:

\n

\nhttp://developer.appcelerator.com/question/117356/imageview-load-ev...

\n

Tested in: Titanium 1.6.1

\n

For android the load event doesn't fire at all. (Tested in APIs\n2.2)
\nFor iPhone the event doesn't fire if touchEnabled is set to\nfalse.

\n

Attached app.js

{html}", "updateAuthor": { "name": "danieltome", "key": "danieltome", "displayName": "Daniel Tome", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:23.000+0000", "updated": "2011-04-15T03:29:23.000+0000" }, { "id": "209768", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed SDK 2.2.0.014b86f\r\n\r\nTest code:\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar imgView = Ti.UI.createImageView(\r\n{\r\n\ttouchEnabled: false,\t//if this is false, load event does not fire. If true it does!\r\n\tleft:0,\r\n\ttop:0,\r\n\twidth: 100,\r\n\theight: 100\r\n});\r\n\r\nTi.API.info(\"Adding load event listener\");\r\n\r\nimgView.addEventListener('load', function(e){\r\n\tTi.API.info(\"image loadded !! Width: \" + e.source.width);\r\n\tTi.API.info(\"image loadded !! Height: \" + e.source.height);\r\n});\r\n\r\nimgView.image = 'http://www.doublefine.com/images/uploads/remo_sad.JPG';\r\n\r\nwin.add(imgView);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T14:20:56.000+0000", "updated": "2012-07-26T14:20:56.000+0000" }, { "id": "422591", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-22T22:49:33.000+0000", "updated": "2017-06-22T22:49:33.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }