{ "id": "90759", "key": "TIMOB-8863", "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": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-24T15:40:36.000+0000", "created": "2012-04-23T12:23:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "module_webview", "qe-testadded", "regression" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-13T10:13:50.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": "h2. Problem description\r\nOpening a PDF inside a webView, a loading indicator should be shown before the PDF is displayed. Setting backgroundColor:'white' (or any other color) in the webview, prevent the indicator being shown.\r\n\r\nThis behavior is not present on 1.7.6\r\n\r\nh2. Sample code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle:'test'\r\n});\r\n\r\nvar data=[{title:'open pdf!'}];\r\n\r\nvar tw = Ti.UI.createTableView({\r\n\tdata:data\r\n});\r\n\r\n\r\ntw.addEventListener('click', function(e){\r\n\tvar webview = Titanium.UI.createWebView({\r\n\t\tbackgroundColor:'white',\r\n\t\turl:'http://www.appcelerator.com/assets/The_iPad_App_Wave.pdf'});\r\n var win2 = Titanium.UI.createWindow();\r\n win2.add(webview);\r\n win2.open({modal:true});\r\n});\r\n\r\n\r\nwin.add(tw);\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: webview loading spinning indicator is not shown setting a backgroundColor ", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.8.2 and 2.0.1\r\niOS", "comment": { "comments": [ { "id": "192377", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Error was due to order in which properties were processed. \r\n\r\nPull pending https://github.com/appcelerator/titanium_mobile/pull/2060", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-24T10:07:47.000+0000", "updated": "2012-04-24T10:07:47.000+0000" }, { "id": "193999", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.0.2.v20120505151714 on iPhone 4 4.3.5", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-07T13:25:44.000+0000", "updated": "2012-05-07T13:25:44.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }