Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 409AD18479 for ; Sun, 10 Jan 2016 21:09:45 +0000 (UTC) Received: (qmail 99128 invoked by uid 500); 10 Jan 2016 21:09:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 99074 invoked by uid 500); 10 Jan 2016 21:09:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 98811 invoked by uid 99); 10 Jan 2016 21:09:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jan 2016 21:09:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E407E2C1F57 for ; Sun, 10 Jan 2016 21:09:39 +0000 (UTC) Date: Sun, 10 Jan 2016 21:09:39 +0000 (UTC) From: "Chris Murdaugh (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9615) getsettings API removed from Android CordovaWebView which disables renderpriority and WebView tweaks for devices below Android 5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091239#comment-15091239 ] Chris Murdaugh commented on CB-9615: ------------------------------------ Hi Again Nikhil, Just wanted to add one more comment.. Even 4.3 is slow as molasses (slower in some cases than 4.1 and 4.2) for CSS3 animation frame rate - as you know, 4.3 is only a Chrome-based webview and Chromium Webview doesn't come in until kitkat 4.4 and above... Even on 4.4 and above I have seen cases where setting the RenderPriority with getSettings can boost CSS tranform framerate... The developer should be given the choice considering the totally anemic performance of Google's Webview for CSS (and Canvas) animation in its native webview... I understand you are lightening the load of Cordova for performance. My suggestion would be rather than killing off the getSettings API for Webview, it could be moved into a plugin - So the developer can choose whether to adopt 3rd party library like crosstalk or opt to use getSettings to disable GPU rendering to boost framerate for applications requiring HTML/Canvas animation... Thanks again. Chris > getsettings API removed from Android CordovaWebView which disables renderpriority and WebView tweaks for devices below Android 5 > -------------------------------------------------------------------------------------------------------------------------------- > > Key: CB-9615 > URL: https://issues.apache.org/jira/browse/CB-9615 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 4.1.0, 4.3.0, 4.0.1, 4.1.1 > Environment: Windows 8.1 and Android SDK with Eclipse or Android Studio > Reporter: Chris Murdaugh > > getsettings API removed from CordovaWebView ex: appView.getSettings().setRenderPriority in the java MainActivity no longer works in Cordova Android 3.7.2 and above (to test you will need to set hardwareacceleration to false in AndroidManifest and use the above java in the mainactivity) - an undefined method is thrown in the compiler. This is a deal-breaker as we cannot use Crosswalk because it adds 18mb to APK size (we really need to stay below the 50MB cellular APK size limit for market reach). We need our CSS3 transforms to be above 1-10fps for stability and the above tweak has allowed us to maintain compatibility and performance for Android 4.x and above (this issue affects all supported Android versions since CSS3 transforms are slow without Crosswalk). Having the getsettings API removed from Cordova 3.72 and above (and no replacement API exists) means that we cannot upgrade our Cordova until this issue is resolved and will have to go without patch for CVE-2015-1835. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org