cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Geske (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-8584) InAppBrowser Unusable on Android 5.0.x Devices
Date Sat, 07 Mar 2015 15:36:38 GMT

    [ https://issues.apache.org/jira/browse/CB-8584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14351618#comment-14351618
] 

Kyle Geske edited comment on CB-8584 at 3/7/15 3:35 PM:
--------------------------------------------------------

I'm now confident that it's a re-painting issues, not a reloading one.

It seems as though the in-app browser screen is repainted as (large?) resources are loaded
into the DOM. For example, these resources might be  images, ad banners, embedded videos,
etc. 

Excessive repainting also occurs on Android 5 after scrolling. 

On Android 4 devices this is not the case. The same resources might take a moment to be inserted
into the DOM, but when they are, they just appear. No full browser re-paint.

Also, I noticed that this Plugin makes use of "setUseWideViewPort" which has issues in the
current version of Android. This may or may not be related. See Android issue track issues:

[Issue 93243:	mWebview.getSettings().setUseWideViewPort(true); not working on Android lollipop
5.0.1 version|https://code.google.com/p/android/issues/detail?id=93243&q=webview&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars]
[Issue 92841:	setUseWideViewPort for webview does not work in Android 5.0.1 Lollipop|https://code.google.com/p/android/issues/detail?id=92841&q=webview&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars]

 


was (Author: stungeye):
I'm now confident that it's a re-painting issues, not a reloading one.

It seems as though the in-app browser screen is repainted as (large?) resources are loaded
into the DOM. For example, these resources might be  images, ad banners, embedded videos,
etc. 

Excessive repainting also occurs on Android 5 after scrolling. 

On Android 4 devices this is not the case. The same resources might take a moment to be inserted
into the DOM, but when they are, they just appear. No full browser re-paint.

Also, I noticed that this Plugin makes use of "setUseWideViewPort" which has issues in the
current version of Android. This may or may not be related. See Android issue track issues:

http://goo.gl/tXtiIu
http://goo.gl/TfFTFO

 

> InAppBrowser Unusable on Android 5.0.x Devices
> ----------------------------------------------
>
>                 Key: CB-8584
>                 URL: https://issues.apache.org/jira/browse/CB-8584
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>         Environment: Android 5.0.X. Observed on a LG G3 running Android 5.0.1 as well
as on the Genymotion Nexus 10 Android 5.0.0 emulator. Cordova version is 4.2.0. Cordova Android
platform is version 3.6.4. In-App Browser plugin is version 0.6.0. 
>            Reporter: Kyle Geske
>
> The in-app browser continuously refreshes the page. These refreshes occur starting when
the page is initially loaded but can also be trigger when attempting to scroll the content.
> I can't tell if the page itself is actually being re-fetched or if the screen is just
re-painting itself over and over.
> These refreshed have made the in-app browser unusable on the tested Android 5.0.x devices.



--
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


Mime
View raw message