{ "id": "118485", "key": "TIMOB-14879", "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": null, "resolutiondate": null, "created": "2013-08-14T09:58:57.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.1.2", "reprod" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:59.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "This is not a regression. Since the issue occurs in 3.1.1GA also.\r\n\r\nOpening a PDF inside a webView, a loading indicator should be shown before the PDF is displayed.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title:'test'\r\n});\r\n \r\nvar data=[{title:'open pdf!'}];\r\n \r\nvar tw = Ti.UI.createTableView({\r\n data:data\r\n});\r\n \r\n \r\ntw.addEventListener('click', function(e){\r\n var webview = Titanium.UI.createWebView({\r\n backgroundColor:'white',\r\n url:'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\r\n\r\nExpected Result: Spinning indicator must be shown.\r\n\r\nActual Result: No spinning indicator is shown.", "attachment": [], "flagged": false, "summary": "Android: webview loading spinning indicator is not shown setting/not setting a backgroundColor", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Verified with:\r\n\r\nStudio: 3.1.2.201308091728\r\nSDK: 3.1.2.v20130813151607\r\nacs:1.0.5\r\nalloy:1.2.0-alpha6\r\ntitanium:3.1.2-alpha\r\ntitanium-code-processor:1.0.2-alpha\r\nOS: OSX 10.8.4\r\nDevice: Nexus 7(v4.2.1),Nexus 7(v4.3),Google Nexus4(v4.0.4)\r\nXcode:4.6.3\r\n", "comment": { "comments": [ { "id": "269856", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Our kitchensink example does not support display of a PDF in a webview. Will investigate our capability here.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-05T23:06:34.000+0000", "updated": "2013-09-05T23:06:34.000+0000" }, { "id": "423013", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nTi SDK 6.1.1.v20170626160851\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\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-27T22:15:38.000+0000", "updated": "2017-06-27T22:15:38.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }