{ "id": "125711", "key": "TIMOB-16362", "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": "15935", "description": "2014 Sprint 06", "name": "2014 Sprint 06", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15936", "description": "2014 Sprint 06 SDK", "name": "2014 Sprint 06 SDK", "archived": true, "released": true, "releaseDate": "2014-03-28" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-03-24T18:23:58.000+0000", "created": "2014-01-31T22:51:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "4.4.2", "android", "sencha", "touch" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "36027", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "126602", "key": "TIMOB-16479", "fields": { "summary": "Android: local HTML-based Google Maps in webview fails to open", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:22:21.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": "Sencha Touch apps (using any Sencha SDK version) don't load in the Titanium web view on Android 4.4.2. Earlier Android versions work fine.\r\n\r\nCode to reproduce:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n \r\nvar webView = Ti.UI.createWebView({\r\nurl: 'http://cdn.sencha.io/touch/sencha-touch-2.1.0/examples/kitchensink/index.html',\r\ntop: 0, bottom: 0, left: 0, right: 0\r\n});\r\nwin.add(webView);\r\n \r\nwin.open();\r\n{code}\r\n\r\nWhen it fails to load, the log is spammed with the following:\r\n\r\n{code}\r\n[ERROR] eglCodecCommon: glUtilsParamSize: unknow param 0x00000b44\r\n[ERROR] eglCodecCommon: glUtilsParamSize: unknow param 0x00000bd0\r\n[ERROR] eglCodecCommon: **** ERROR unknown type 0x0 (glSizeof,72)\r\n{code}\r\n\r\nI tested in the Android 4.4.2 emulator, but it has been reported as an issue on multiple devices as well.\r\n\r\nNote that the Sencha Touch apps load perfectly fine in native Android with the Cordova web view.", "attachment": [ { "id": "46755", "filename": "android_webtest_sencha.zip", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-20T02:40:48.000+0000", "size": 43774, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Sencha Touch apps don't work in web view in Android 4.4.2", "creator": { "name": "jtoth", "key": "jtoth", "displayName": "Justin Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jtoth", "key": "jtoth", "displayName": "Justin Toth", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium 3.2.0.GA\r\nAndroid 4.4.2", "comment": { "comments": [ { "id": "290961", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce the issue with the provided code and the test steps.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-03T20:56:45.000+0000", "updated": "2014-02-03T20:56:45.000+0000" }, { "id": "293881", "author": { "name": "mark.catley@telogis.com", "key": "mark.catley@telogis.com", "displayName": "Mark Catley", "active": true, "timeZone": "Pacific/Auckland" }, "body": "We're still having this issue.\r\n\r\nI have figured out that this is something to do with the rendering engine believing the webview is 0 height.\r\n\r\nSencha uses a layout that mostly uses percentages for heights and widths. If I set the styles on the body element to be \"height: \" + window.innerHeight + \"px !important; width: \" + window.innerWidth + \"px;\". Where it used to be \"height: 100% !important; width: 100% !important;\". I also do this onrotate. The main issue with this is that when you rotate the device while the webview is not on the screen then it displays incorrectly when the webview returns to the screen.", "updateAuthor": { "name": "mark.catley@telogis.com", "key": "mark.catley@telogis.com", "displayName": "Mark Catley", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2014-02-20T03:49:59.000+0000", "updated": "2014-02-20T03:49:59.000+0000" }, { "id": "297000", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] i just run a simple test case in native Android and is loading the Sencha kitchen sink correctly in Nexus 7 Android 4.4.2. ", "updateAuthor": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-13T15:10:51.000+0000", "updated": "2014-03-13T15:10:51.000+0000" }, { "id": "298452", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Seems to be the same issue as that reported in TIMOB-16479. Same error message as well\n{code}\n03-10 17:20:35.665: I/chromium(14452): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported\n{code}\n\nThere is a workaround in that ticket at present to disable HW acceleration on the WebView. \n{code}\nvar webView = Ti.UI.createWebView({\nurl: 'http://cdn.sencha.io/touch/sencha-touch-2.1.0/examples/kitchensink/index.html',\ntop: 0, bottom: 0, left: 0, right: 0, borderRadius:1\n});\n{code}\n\nThat should solve the problem.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T18:22:14.000+0000", "updated": "2014-03-24T18:22:14.000+0000" }, { "id": "298453", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Same root cause, different test case.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T18:23:17.000+0000", "updated": "2014-03-24T18:23:17.000+0000" }, { "id": "298454", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as duplicate. ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T18:23:58.000+0000", "updated": "2014-03-24T18:23:58.000+0000" }, { "id": "414093", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:22:21.000+0000", "updated": "2017-03-20T22:22:21.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }