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

Issue 636686 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 620929
Owner:
Email to this user bounced
Closed: Jan 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

The WebView layout does not update correctly after change system display size in Nexus 6P if using API 24

Reported by r9852508...@gmail.com, Aug 11 2016

Issue description

Steps to reproduce the problem:
1. Launch an activity includes WebView engine
2. Tap recent to Settings -> Display -> Display size -> change it
3. Back to app, but only webview layout does not update.
4. Kill process and re-check it. The layout will be correctly.

What is the expected behavior?

What went wrong?
After change display size, the webview layout does not update.

Did this work before? N/A 

Chrome version: 51.0.2704.90  Channel: stable
OS Version: 7.0  (N)
Flash Version: 

We found the issue only happens on define API level is 24 in AndroidManifest. If we change to 23 is workable. We also provide videos/apk/source code to check.
 
bugreport.txt
8.1 MB View Download
sourcecode.7z
336 KB Download
webview-23_N.mp4
9.5 MB View Download
webview-24_N.mp4
12.6 MB View Download
Webview-23.apk
396 KB Download
Webview-24.apk
396 KB Download
Components: Mobile>WebView
Owner: ti...@chromium.org
This should be fixed by Tima's changes. 

Comment 2 by ti...@chromium.org, Jan 12 2017

Mergedinto: 620929
Status: Duplicate (was: Unconfirmed)
In M57 the WebView should properly react to display density change. Merging this to the main issue.

Btw I cannot play webview-23_N.mp4, the file seems to be corrupted.

Sign in to add a comment