New issue
Advanced search Search tips

Issue 611739 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Compat



Sign in to add a comment

Android WebView application is shown white

Reported by imanoleg...@gmail.com, May 13 2016

Issue description

Example URL:

Steps to reproduce the problem:
1. 
2. 
3. 

What is the expected behavior?

What went wrong?
Dear gents,

In last upgrade of Android WebView application, we have problems when we load a simple web page into a Cordova InAppBrowser.
The problem is that the WebView is shown white in all of screen, and when we send our application to task list and we return to app the content is shown correctly.
If we do the downgrade of WebView application the result is different, the web page is shown correctly in first time.

Device: SAMSUNG S5
Android version: 5.0
WebView version: 50.0.2661.86

Thank you in advance.
Best regards

Does it occur on multiple sites: N/A

Is it a problem with a plugin? Yes InAppBrowser cordova with Android WebView

Did this work before? Yes Previous upgrade or version

Does this work in other browsers? Yes 

Chrome version: 50.0.2661.89  Channel: stable
OS Version: 5.0
Flash Version:
 
Components: Mobile>WebView
is the app in question available somewhere to be able to reproduce?
Hello,
Yes, the application is AlAhliMobile, it is in the PlayStore.
*The steps to reproduce* the issue are:
1.- Download and install the app AlAhliMobile
*2.- In the first screen do tap on the "New user registration" button.*
Then the options are 2:
*2.1.- The screen will be white, then move to background and return to the
app(The screen will be shown correctly)*
2.2.- If the screen is shown correctly, close the app and return to step
(2.)

Thank you in advance.
Best regards

2016-05-19 14:54 GMT+02:00 timvolodine@chromium.org via Monorail <
monorail@chromium.org>:
Hello,

Are you investigating the issue?
Thank you in advance.

Best regards

Comment 5 by sgu...@chromium.org, May 25 2016

Owner: satyavat...@chromium.org
test team can you do a bisect on that?
Labels: Needs-Bisect
sgurun@ sure we will bisect and update soon.
Labels: -Needs-Bisect
This issue not reproducible on samsung S5 (LRX21T) having both web view 50.0.2661.66 , 50.0.2661.86 and 51.0.2704.61 with app AlAhliMobile(2.4.0) following the steps mentioned in comment#3 on 2G,3G and 4G. I was able to see once on 4G but after few seconds it navigated the page content. 

Comment 8 by sgu...@chromium.org, May 26 2016

Have you tried 50.0.2661.89?

I wonder if we break sth from .86 to .89 (unlikely) or simply not repro for us?

Without a repro we cannot debug it, so will have to close the bug.

Comment 9 by sgu...@chromium.org, May 26 2016

actually nevermind, .86 was broken according to #1
Labels: Needs-Feedback
reporter: do you still see the issue? or did you fix it somehow in your app.


Hello,
The issue persist:
I have attached a video which is showing the issue, also I have attached the version of WebView(50.0.2661.86)
The issue happens randomly, is not always happening.
Thank you in advance.
Best regards.

Samsung_S6_edge_webviewV_50.0.2661.86.jpg
340 KB View Download
Samsung_S6_edge_webviewV_50.0.2661.86_AlAhliMobile.mp4
4.0 MB Download
Project Member

Comment 12 by sheriffbot@chromium.org, May 27 2016

Labels: -Needs-Feedback Needs-Review
Thank you for providing more feedback. Adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Hello,

For more info:
When I am going to show the page, the call for the function is this:
CODE: window.open(url, '_blank', options);
WHERE "options" are: "location=no,toolbar=no,hidden=yes,clearcache=yes,clearsessioncache=yes,disallowoverscroll=yes"
It has to be taken into consideration that the "hidden" parameter is setted to "true".
It seems that if I change the "hidden" parameter to "false" the page is showing correctly.

Thank you in advance.

Owner: ----
Hello,

Do you need anything more to fix the issue?

Thank you in advance.
Hi, Did this issue only happen on Samsung S5?
We can't reproduce this issue, if you get the white screen again, could you try to connect to WebView by developer tools to see if you can find any issue?
Hello,

In developer tools all is running correctly.
I tested in 2 devices more. 
   HTC One with Android 6.0(WebView: 50.0.2661.86)
   Samsung S4 with Android 5.0.1(WebView: 50.0.2661.86)
Is happening the same.
Please, find attached videos.

Thank you.
Beste regards
HTC_One_Android_6.0.mp4
2.4 MB View Download
Samsung_S4_Android_5.0.1.mp4
2.9 MB View Download
HTC_One_Android6.0-Samsung_S4_Android5.0.1.jpg
1.0 MB View Download
Cc: boliu@chromium.org
Bo, would getting a trace help here? any ideas for debugging?
I'm seeing a similar thing with our app (https://play.google.com/store/apps/details?id=com.geddup.app.android&hl=en)
Trying to get a trace is proving tricky as attaching the inspector (chrome://inspect/?tracing#devices) seems to stop the behaviour from happening, and for us it occurs very soon after app start.

Inspecting without tracing gives me a better chance of triggering the issue, but usually it also causes the issue to disappear. There are no errors in the devtools console that could indicate what is happening.

I've observed 3 points that are interesting about this issue:

- watching the page changes from the inspect overview page (chrome://inspect/#devices) shows the webview moving between the expected pages

- the webview contents are invisible but still clickable, so managing to click an item that causes a page reload or DOM change can be enough to cause the view to render

- rarely the webview contents won't be invisible, but rather, corrupted. I've attached an image which shows this

We are seeing this on:

- Nexus 4 running 5.1.1 (LMY48T) with Chrome webview 51.0.2704.36
- Nexus 5X running N (NPD35K) with Chrome webview 51.0.2704.36
2016-06-12 03.18.46.png
66.1 KB View Download
I've been looking at this further, and for my issue, it looks like this has been sorted out somewhere between 51.0.2704.43 and 51.0.2704.54. From my testing, looking at all versions of com.google.android.webview I could find, only the following caused the issue on my devices:

 50.0.2661.59 (266105900)
 50.0.2661.59 (266105950)
 50.0.2661.66 (266106600)
 50.0.2661.66 (266106650)
 50.0.2661.86 (266108600)
 50.0.2661.86 (266108650)
 51.0.2704.28 (270402800)
 51.0.2704.28 (270402850)
 51.0.2704.36 (270403600)
 51.0.2704.36 (270403650)
 51.0.2704.36 (275503650)
 51.0.2704.43 (270404350)

Comment 23 by boliu@chromium.org, Aug 16 2016

I'm getting spinner that doesn't disappear on webview built from trunk

what's the spinner waiting for?
The spinner is waiting for a web request.
Maybe the service is down.
Please, check it later.
Thank you.

Comment 25 by joi@chromium.org, Aug 16 2016

Hi folks, I believe this is the same issue we are seeing with the built-in SMS app (Messages) on a Samsung Galaxy S6 that we just bought for testing because of multiple reports by CrankWheel users.

Any link that is sent to you by SMS and you open in Samsung's Messages will show a blank page until you change orientation of your mobile screen, or poke the screen and happen to click somewhere where there was a link.

This did not happen when the phone was fresh out of the box and had version 46.0.2490.76 of Android WebView. We then allowed it to update Android WebView and received version 52.0.2743.98, which exhibits the problem.

Reproduction steps are simple:
1. Send an SMS to the phone with a URL to any web page; try something dead simple like an HTML-only page to verify that this is not a CSS or JavaScript issue.
2. Click the link you receive.

Expected: Should see the web page.
Actual: See a blank page.

I believe this is a widely occurring issue and not limited only to the Galaxy S6, although not frequently reported. Here are some reports we did manage to find that may be the same underlying issue, both of them reported on Galaxy S7 Edge phones:

http://forum.xda-developers.com/s7-edge/help/help-text-message-links-t3431119

https://github.com/facebook/react-native/issues/8593

Comment 26 by joi@chromium.org, Aug 16 2016

Another report that may be the same underlying issue: https://plus.google.com/109655533802578930112/posts/X8CzHBY8wfT

Comment 27 by torne@chromium.org, Aug 16 2016

#26 seems unlikely since they reported that on M50.

Comment 28 by torne@chromium.org, Aug 16 2016

The issue described in #25 sounds like the same thing as b/30824239 which samsung are reporting as a regression in 52 - if so then it's unlikely to be the same as this bug as that's only in 52 and specific to samsung's particular app, but we're investigating it.

Comment 29 by joi@chromium.org, Aug 16 2016

@torne, thanks for the additional information. Do you know if there is a public tracker anywhere for b/30824239?

Comment 30 by torne@chromium.org, Aug 16 2016

Cc: tobiasjs@chromium.org
Not currently, and we haven't determined yet if it's a webview bug or a problem with samsung's app; we'll file a crbug when we have more info, or reuse one of these if it turns out to be related.

Comment 31 by boliu@chromium.org, Aug 16 2016

Status: WontFix (was: Unconfirmed)
the "wrapper-container" div has class="transparent", which is hiding all of the content, that's problem in your html, not webview

Sign in to add a comment