{ "id": "87684", "key": "TIMOB-8311", "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": "2012-04-24T13:44:51.000+0000", "created": "2012-03-10T14:59:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "parity" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T21:07:24.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": "h4. Problem Description\r\nload event is never triggered when loading an imageView with Ti sdk 2.0 ( [INFO] jira-test/1.0 (2.0.0.v20120308234731.f0091c3) )\r\nI thing it was since a push request was adopted for fixing a bug of the layout of a view that breaks when adding/removing subviews on a simple view in sdk 1.8.2.\r\n\r\nh4. Actual results\r\nthe load event is not thrown in ios (it works on android)\r\n\r\nh4. Expected results\r\nload event working fine \r\n\r\nh4. Test case\r\n1. Create a new mobile project\r\n2. Add the code :\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Load test',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar img = Ti.UI.createImageView({image:'a-simple-image.jpg'});\r\nimg.addEventListener('load', function(){Ti.API.info('Yeah ! the image is loaded :) ');});\r\nwin.add(img);\r\nwin.open();\r\n{code}\r\n3. Run for ios\r\n\r\nh4. Extra info\r\nthis is working fine in android", "attachment": [], "flagged": false, "summary": "iOS: load event never triggered when loading an ImageView", "creator": { "name": "max", "key": "max", "displayName": "process", "active": true, "timeZone": "Europe/Paris" }, "subtasks": [], "reporter": { "name": "max", "key": "max", "displayName": "process", "active": true, "timeZone": "Europe/Paris" }, "environment": "Titanium SDK version: 2.0.0.v20120325213306.963fcfe\r\nPlatform & version: iOS 5.0 \r\nDevice Details: iOS simulator \r\nHost Operating System: OSX 10.7.3 \r\nTitanium Studio version:1.0.9", "comment": { "comments": [ { "id": "185928", "author": { "name": "max", "key": "max", "displayName": "process", "active": true, "timeZone": "Europe/Paris" }, "body": "seems to work with remote image but not for local ones", "updateAuthor": { "name": "max", "key": "max", "displayName": "process", "active": true, "timeZone": "Europe/Paris" }, "created": "2012-03-12T02:39:11.000+0000", "updated": "2012-03-12T02:39:11.000+0000" }, { "id": "188743", "author": { "name": "max", "key": "max", "displayName": "process", "active": true, "timeZone": "Europe/Paris" }, "body": "I didn't test on Android but the problem was for ios", "updateAuthor": { "name": "max", "key": "max", "displayName": "process", "active": true, "timeZone": "Europe/Paris" }, "created": "2012-03-26T22:34:45.000+0000", "updated": "2012-03-26T22:34:45.000+0000" }, { "id": "192432", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The event seems to be firing properly ..\r\n\r\nTested on iPhone Simulator 4.3 , 5.0 and 5.1 \r\nTested on iPad 2 running 5.0.1\r\nRan on Xcode 4.3 on MAC OSX 1.7.3 against [master|https://github.com/appcelerator/titanium_mobile/commit/f2349a3].\r\n\r\nMarking bug as cannot Reproduce.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-24T13:44:21.000+0000", "updated": "2012-04-24T13:44:21.000+0000" }, { "id": "415372", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can verify this ticket as \"Cannot Reproduce\". Tested with the following environment;\r\nSimulator (10.2)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.0.3 GA\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nTi CLI 5.0.11\r\nAlloy 1.9.5\r\nArrow 1.10.1\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:07:24.000+0000", "updated": "2017-03-23T21:07:24.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }