{ "id": "80349", "key": "TIMOB-5291", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-06-26T21:55:19.000+0000", "created": "2011-09-15T09:42:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "parity", "training" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:07:12.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": "h3. Problem\r\n\r\nCustomer can not load remote images with the property backgroundImage in a window\r\n \r\nh3. Reproducible steps:\r\n\r\n1.Run the code below.\r\n \r\nh3. Expected behavior\r\n\r\nCustomer wants to use the property backgroundImage to load remote images in a window.\r\n\r\nh3. Sample Code:\r\n\r\n{code}\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'My image',\r\n backgroundImage:'http://shakthiiacademy.com/yahoo_site_admin/assets/images/icon_check.4773029_std.png'\r\n\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n top: 10, left: 10, right: 10, height: 50, backgroundImage:'http://shakthiiacademy.com/yahoo_site_admin/assets/images/icon_check.4773029_std.png' \r\n \r\n});\r\n\r\nwin1.add(view);\r\n\r\nwin1.open();\r\n\r\n{code}\r\n\r\nThe remote images are also not loaded using backgroundImage property in a view. This works on Android.\r\n\r\nh3. Helpdesk\r\nhttp://appc.me/c/APP-318633", "attachment": [], "flagged": false, "summary": "iOS: Window backgroundImage property does not load remote images", "creator": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 2.0.2.GA, iOS 4.3, 5.0 SDK.", "comment": { "comments": [ { "id": "200487", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is because remote image loading can lead to race conditions and has high latency (Note that this is NOT something provided natively). The only properties that support remote images are the image and images properties in imageView and coverflowView, respectively. This is an *intentional* *design* *decision* as to not have remote image loading significantly impact image use in terms of speed and reliability in all other views. Not only that, but there is no structure for a default image for background images and the like; supporting remote image background carry a lot of baggage.\r\n\r\nMoving that this bug be marked invalid.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T19:28:17.000+0000", "updated": "2012-06-26T19:28:17.000+0000" }, { "id": "414411", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:07:12.000+0000", "updated": "2017-03-21T21:07:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }