{ "id": "154348", "key": "TIMOB-20240", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-02-02T03:41:23.000+0000", "created": "2016-01-15T02:18:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "webview" ], "versions": [ { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2017-03-23T22:37:03.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\nTrying to load this url: https://credodonations.com the url is not loaded and this error is showed: \r\n{code}\r\n[INFO] : I/TiWebChromeClient.console: (main) [885,885] Not allowed to load local resource: file:///android_asset/webkit/android-weberror.png (12:data:text/html,chromewebdata)\r\n[ERROR] : chromium: [ERROR:buffer_manager.cc(313)] [.Parent-Compositor-0x9d95f390]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command\r\n[INFO] : APSAnalyticsService: Analytics Service Started\r\n[WARN] : APSAnalyticsService: Network unavailable, can't send analytics\r\n[INFO] : APSAnalyticsService: Stopping Analytics Service\r\n{code}\r\nThis is only happening on Android, iOS is working correctly\r\n\r\n\r\nh6. Steps to replicate: \r\n# Create a new default application project\r\n# Open app.js\r\n# Replace the code inside with this:\r\n{code}\r\nvar webview = Titanium.UI.createWebView({url:'https://credodonations.com'});\r\nvar window = Titanium.UI.createWindow();\r\nwindow.add(webview);\r\nwindow.open({modal:true});\r\n{code}\r\n# Run", "attachment": [], "flagged": false, "summary": "Android: Webview chromium: [ERROR:buffer_manager.cc(313)]", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 5.0 and 4.4.4\r\nSDK 5.1.1GA, 5.1.2GA", "closedSprints": [ { "id": 580, "state": "closed", "name": "2016 Sprint 3 SDK", "startDate": "2016-01-30T01:31:48.991Z", "endDate": "2016-02-13T01:31:00.000Z", "completeDate": "2016-02-15T05:32:40.725Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "375439", "author": { "name": "three29", "key": "three29", "displayName": "Eduard Florea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Check out the *Android 4.4 and Later Support* section from here:\r\nhttp://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.WebView-property-html\r\n\r\nI had a similar issue and after I added a *borderRadius* to the WebView the issue was gone.\r\n\r\nHope this helps.\r\n\r\nGood luck!", "updateAuthor": { "name": "three29", "key": "three29", "displayName": "Eduard Florea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-28T17:32:55.000+0000", "updated": "2016-01-28T17:32:55.000+0000" }, { "id": "375670", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Thanks [~eflorea] for the information!", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-02T01:02:59.000+0000", "updated": "2016-02-02T01:02:59.000+0000" }, { "id": "375693", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Workaround: \r\n{code}\r\nvar webview = Titanium.UI.createWebView({url:'https://credodonations.com'});\r\nwebview.borderRadius = 0.1;\r\nvar window = Titanium.UI.createWindow();\r\nwindow.add(webview);\r\nwindow.open({modal:true});\r\n{code}\r\nAs mentioned by [~three29] (Thank you!), the docs mention this issue:-\r\n{quote}\r\nBy default, the Chromium WebView uses hardware acceleration, which may cause content to fail to render. If the WebView fails to render the content, the web view will clear itself, displaying only the default background color. {quote} \r\nThe workaround is to set a borderRadius.\r\n\r\n[~rramirez] Resolving this issue as `Won't Fix` as work around is available and it has been documented. ", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-02T03:40:16.000+0000", "updated": "2016-02-02T03:42:06.000+0000" }, { "id": "375701", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry Guys but the workaround is not working for me, i'm getting this error trying on an Android Samsung Galaxy Ace 4.4.4\r\n\r\n[ERROR] : TiWVC: (main) [1448,1448] SSL error occurred: primary error: 3 certificate: Issued to: CN=*.credodonations.com,OU=COMODO SSL Wildcard,OU=Domain Control Validated;\r\n[ERROR] : TiWVC: Issued by: CN=COMODO RSA Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB;\r\n[ERROR] : TiWVC: on URL: https://credodonations.com/\r\n\r\n", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-02T07:38:45.000+0000", "updated": "2016-02-02T07:38:45.000+0000" }, { "id": "375706", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah] there is an SSL error on the webview, EDITED workaround: \r\n\r\n{code}\r\nvar webview = Titanium.UI.createWebView({\r\n\turl:'https://credodonations.com',\r\n\tignoreSslError :true\r\n});\r\nwebview.borderRadius = 0.1;\r\nvar window = Titanium.UI.createWindow();\r\nwindow.add(webview);\r\nwindow.open({modal:true});\r\n{code}", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-02T08:09:40.000+0000", "updated": "2016-02-02T08:09:40.000+0000" }, { "id": "375724", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Thanks for that. So in this case, it seems the website is the issue and a flag is needed. Leaving ticket as Resolved.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-02T12:21:14.000+0000", "updated": "2016-02-02T12:21:14.000+0000" }, { "id": "415470", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Won't Fix with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:37:03.000+0000", "updated": "2017-03-23T22:37:03.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }