{ "id": "155504", "key": "TIMOB-20523", "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": "18928", "name": "Release 6.0.2", "archived": false, "released": true, "releaseDate": "2017-02-27" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-26T09:30:41.000+0000", "created": "2016-03-07T18:59:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [], "assignee": null, "updated": "2018-08-06T17:49:18.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Issue Description\r\nWebview with Hardware Acceleration within Android doesn't work on specific devices (Motorola Moto G with Android 5 and Galaxy S4 with Android 5, Android Devices HTC, samsung galaxy note 2, Samsung Device SM-J500FN) \r\nWhen put on Software Acceleration, it works. But the Hardware accelerated webview doesn't work on those specific devices. \r\n\r\nh6.Test Case\r\n{code:title=app.js}\r\nvar webview = Titanium.UI.createWebView({\r\n url : 'http://www.promobutler.be/nl/folders/hubo?fid=64007&embedded=true',\r\n height : '100%',\r\n width : '100%',\r\n borderRadius:1\r\n});\r\n\r\nvar window = Titanium.UI.createWindow();\r\nwindow.add(webview);\r\nwindow.open();\r\n{code}\r\n\r\n{code:title=tiapp.xml}\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n{code}\r\n\r\nh6.Additional Info\r\n\r\n-Tried in Native Android with a Native Webview with Hardware Acc, on those devices, it worked: \r\n{code}\r\nWebView webView = (WebView)findViewById(R.id.webview); \r\nwebView.getSettings().setJavaScriptEnabled(true); \r\nwebView.setWebChromeClient(new WebChromeClient());// opens links inside same chrome webview \r\nwebView.setWebViewClient(new WebViewClient()); // opens links inside same webview \r\nwebView.loadUrl(\"http://www.promobutler.be/nl/folders/hubo?fid=64007&embedded=true\"); \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": " Android: Webview with Hardware Acceleration, software rendering doesn't work.", "creator": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": " Operating System Mac OS X\r\n Node.js Version = 0.12.0\r\n npm Version = 2.5.1\r\n CLI Version = 5.0.6\r\nAndroid API label (19 to later)", "closedSprints": [ { "id": 883, "state": "closed", "name": "2017 Sprint 09 SDK", "startDate": "2017-04-23T21:46:54.309Z", "endDate": "2017-05-07T21:46:00.000Z", "completeDate": "2017-05-08T00:25:44.276Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "379289", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "I have experienced a different type of phenomena regarding this issue. The webview works just fine with both \"Hardware Acceleration\" enabled and disabled if the url is \"https://www.google.com/\" . But if the url is the given url \"http://www.promobutler.be/nl/folders/hubo?fid=64007&embedded=true\" then the webview fails to load the page with both \"Hardware Acceleration\" enabled and disabled .\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexux7 (android 6.0.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.0 and 5.1.2.GA\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-03-09T05:21:31.000+0000", "updated": "2016-03-15T20:42:22.000+0000" }, { "id": "390985", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same problem with a local Chart.JS page:\r\n{{`}}\r\n-> makes the application slow but the webview shows the content\r\n\r\n{{`}}\r\n-> empty webview\r\n\r\nWebview has {{borderRadius:5}} in both cases. \r\n\r\n*Environment:*\r\n*Device info:* HTC A9 (android 6.0.1)\r\n*Titanium SDKs:* 5.3.1.GA", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-19T07:25:25.000+0000", "updated": "2016-07-19T07:25:25.000+0000" }, { "id": "400543", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This may have been fixed by https://github.com/appcelerator/titanium_mobile/pull/8587", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-08T00:47:25.000+0000", "updated": "2016-11-08T00:47:25.000+0000" }, { "id": "418086", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving. Fixed by TIMOB-23885.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-26T09:30:41.000+0000", "updated": "2017-04-26T09:30:41.000+0000" }, { "id": "440104", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:18.000+0000", "updated": "2018-08-06T17:49:18.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }