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

Issue 623183 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Omnibox synchronously unhides on navigation

Project Member Reported by pdr@chromium.org, Jun 24 2016

Issue description

Version: 530.02774.4/dev
OS: Android

What steps will reproduce the problem?
(1) Visit any page, https://news.ycombinator.com works.
(2) Scroll up and down so that the Omnibox hides
(3) Click one of the comment links
(4) Notice that before the next page loads, the page jumps so you are unsure if you clicked the right link.

What is the expected output?
The link should not move out from under your finger.

What do you see instead?
The link moves out from under your finger.

Please use labels and text to provide additional information.
This is a regression from M51
 

Comment 1 by pdr@chromium.org, Jun 24 2016

Labels: -Type-Bug Type-Bug-Regression

Comment 2 by aelias@chromium.org, Jun 24 2016

Labels: ReleaseBlock-Stable M-53
Owner: bokan@chromium.org
Status: Assigned (was: Available)
No repro on 52.0.2743.0, but I can repro on 53.0.2770.0.  I initially suspected r401588, but this is actually outside the regression range.  Anyway, bokan@, could you investigate?

Comment 3 by bokan@chromium.org, Jun 27 2016

Status: Started (was: Assigned)

Comment 4 by bokan@chromium.org, Jun 27 2016

Actually, r401588 would not have made the 52 branch and reverting it does fix the issue. The problem is that we shouldn't set the main thread shown_ratio when the state change is animated. I've got a simple fix for that.
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/849f8df4aa51c333cd14286b51673acc90e9b862

commit 849f8df4aa51c333cd14286b51673acc90e9b862
Author: bokan <bokan@chromium.org>
Date: Wed Jun 29 17:57:32 2016

Don't set shownRatio in main thread top controls on animated state change.

In r399036 I made the main thread set the shown ratio as soon as a state change
came in so that the updated window height would be available to script
immediately. This causes problems when the state change is animated since the
compositor thread will try to animate to the state and it'll fight with the
commited value coming from the main thread.

This CL simply disables the main thread behavior when the state change should be
animated, relying on the compositor to drive the animation.

BUG= 623183 

Review-Url: https://codereview.chromium.org/2105523002
Cr-Commit-Position: refs/heads/master@{#402867}

[modify] https://crrev.com/849f8df4aa51c333cd14286b51673acc90e9b862/third_party/WebKit/Source/core/frame/TopControls.cpp
[modify] https://crrev.com/849f8df4aa51c333cd14286b51673acc90e9b862/third_party/WebKit/Source/core/frame/TopControls.h
[modify] https://crrev.com/849f8df4aa51c333cd14286b51673acc90e9b862/third_party/WebKit/Source/web/WebViewImpl.cpp
[modify] https://crrev.com/849f8df4aa51c333cd14286b51673acc90e9b862/third_party/WebKit/Source/web/tests/TopControlsTest.cpp

Comment 6 by bokan@chromium.org, Jun 29 2016

Status: Fixed (was: Started)
This should be fixed in ToT, please reopen if you're still seeing it in upcoming releases.

Sign in to add a comment