{ "id": "130889", "key": "TIMOB-17029", "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-20T23:19:27.000+0000", "created": "2014-05-27T05:23:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.3.0" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-20T23:19:27.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": "When a webview URL is an incorrect one and webview fires an error event. Then a loading spinner starts to show if the orientation of the device is changed afterwards.\r\n\r\nThis is not a regression. The issue exists atleast as back as 3.1.3.\r\n\r\nSteps to Reproduce:\r\n1. Run the application\r\n2. Click on \"Open Invalid URL\" button\r\n3. The webView error event fires and shows an alert. Dismiss the alert. No loading icon is shown.\r\n4. Change the orientation of the device\r\n\r\nActual Result:\r\nOn orientation change, a loading spinner starts to show up\r\n\r\nExpected Result:\r\nThe loading spinner should not show up after change of orientation\r\n\r\n{code}\r\nvar win=Ti.UI.createWindow({backgroundColor:'white'});\r\n\r\nvar buttonInvalid = Ti.UI.createButton({\r\n\t\t title:'Open Invalid URL',\r\n\t\t top:'50', \r\n\t\t});\r\n\t\t \r\n\t\tbuttonInvalid.addEventListener('click', function(){\r\n\t\t var webView = Ti.UI.createWebView({\r\n\t\t url:'http://xxx'\r\n\t\t });\r\n\t\t win.add(webView);\r\n\t\t \r\n\t\t webView.addEventListener('error',function(){\r\n\t\t \talert(\"Unable to load webview\");\r\n\t\t });\r\n\t\t });\t\t \r\n\t\t win.add(buttonInvalid);\r\nwin.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Webview: Loading spinner shows after orientation change even when webview has incorrect URL", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX: 10.9.2\r\nAppC Studio: 3.3.0.201405211748\r\nSDK: 3.3.0.v20140524224144\r\nCLI: 3.3.0-alpha5\r\nAlloy: 1.4.0-alpha4\r\nDevice: iPad4 (v7.1)", "comment": { "comments": [ { "id": "422426", "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-20T23:19:27.000+0000", "updated": "2017-06-20T23:19:27.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }