New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 805378 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 802172
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

In an Android webview runnning in Oreo, background transparency will be replaced by white color when loading a page from a different domain second time

Reported by masbj...@nordija.com, Jan 24 2018

Issue description

Steps to reproduce the problem:
1. Create an Android project with target API 26 (attached)
2. Add a view (e.g. a linearlayout) with a background color
3. Add an webview to the view and load the attached page from domain1. See that the background is transparent
4. Load the attached page from domain2. See that the background is now white and non-transparent

What is the expected behavior?
The webview should keep it's transparency

What went wrong?
The transparent color of the webview is now white instead of transparent

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.111  Channel: stable
OS Version: Android 8.0
Flash Version:
 
WebViewTransparencyTest.zip
885 KB Download
transparencytest.html
364 bytes View Download
Labels: Needs-triage-Mobile
Cc: sandeepkumars@chromium.org
Components: Mobile>WebView
Labels: WV-Triaged Needs-Feedback
Tested the issue in WebView and could not reproduce the issue.

Steps Followed:
1. Launched Chrome .
2. Enabled WebView implementation for Chrome #63.0.3239.111
3. Downloaded the above attached files
4. Cannot open transparencytest.html 

Chrome versions tested:
63.0.3239.111

OS
Android 8.1.0

Android Devices
Pixel

@masbjorn: Could you please attach a screencast and details of the device for further triaging of the issue.

Thanks!!
Yes sure. Screencast attached and a compiled test app for easier testing. The presumed bug is found in the Android Chrome webview component, however I'm not able to see whether the bug is in the Chrome browser app on Android, since it doesn't have a transparent background.

The red color in the test app is the native color of the view container holding the webview component.
demo.mp4
722 KB View Download
app-debug.apk
1.5 MB Download
Project Member

Comment 4 by sheriffbot@chromium.org, Jan 25 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label.

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

Tested on a Nexus 6P with Android 8.0 (API 26), chrome ver. 63.0.3239.111, but also present on a OnePlus 5 with Android 8.0 (API 26), chrome ver. 63.0.3239.11
Mergedinto: 802172
Status: Duplicate (was: Unconfirmed)
Thanks :-)

Sign in to add a comment