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

Issue 639867 link

Starred by 8 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Apps <webview> resizing is laggy

Project Member Reported by birunt...@mohanathas.com, Aug 22 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:49.0) Gecko/20100101 Firefox/49.0

Steps to reproduce the problem:
When resizing a window containing a <webview> spanning e.g. 100% width/height, there is a noticeable delay until the <webview> resizes.

See example here: https://gist.github.com/anonymous/15d8947ddc7ad881947275d4d26e40bd

Or just run:

$ git clone https://gist.github.com/15d8947ddc7ad881947275d4d26e40bd.git webview-resize-slow
$ cd webview-resize-slow
$ /path/to/chrome --load-and-launch-app=$PWD

What is the expected behavior?
With the linked example, the red background of the page should ideally never be visible when resizing. The <webview> contents should always span the window width/height.

What went wrong?
The delayed <webview> resize causes the red background of he page to be visible.

WebStore page: https://gist.github.com/15d8947ddc7ad881947275d4d26e40bd.git

Did this work before? No 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: OS X 10.11
Flash Version:
 
Cc: tkonch...@chromium.org
Labels: Needs-Feedback
Tested the same on mac 10.11.6 chrome version 52.0.2743.116 and canary - the red background of the page is visible when resizing

Please find the screencast

Could you please replicate the same on a new profile and update the thread.
639867.mov
15.3 MB Download

Comment 2 Deleted

Yes, I can reproduce this on a new profile and also with libchromiumcontent based applications that exercise the same code path (e.g. <webview> in Electron).

Can someone with the appropriate bits move this to Platform>Apps>BrowserTag and CC paulmeyer@chromium and lazyboy@chromium?
The screencast doesn't show the issue. Please try increasing the size of the window quickly and you will see the red background.
Project Member

Comment 5 by sheriffbot@chromium.org, Aug 31 2016

Labels: -Needs-Feedback Needs-Review
Owner: tkonch...@chromium.org
Thank you for providing more feedback. Adding requester "tkonchada@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Owner: paulmeyer@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 7 by kbr@chromium.org, Nov 6 2016

Cc: lazyboy@chromium.org
Components: -Platform>Apps Platform>Apps>BrowserTag

Comment 8 by kbr@chromium.org, Nov 6 2016

From emailing with the submitter it sounds like this affects other desktop applications embedding Chromium such as Slack and Brave. This seems quite serious so please either provide an update on progress or raise to P1 and set a release target as appropriate. Thanks.

Comment 9 by lfg@chromium.org, Nov 7 2016

Cc: paulmeyer@chromium.org
Owner: wjmaclean@chromium.org
<webview> runs out of process, so the asynchronous nature is by design. I think the mitigation would be to not paint until both the embedder and the webview has finished drawing a frame, but it may not be ideal.

Assigning to wjmaclean@ who is already owning a similar issue on out of process I frames.
Labels: -Needs-Review
Cleaning up "Needs-Review" label as we are not using this label for triage anymore. Ref bug for this cleanup 684919

Sign in to add a comment