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

Issue 617582 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Not on Chrome anymore
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

The NTP doesn't update the display when the omnibox is focused before it is loaded

Project Member Reported by dgn@chromium.org, Jun 6 2016

Issue description

1. Go to the NTP, then kill Chrome. (to make sure it will start on the NTP next time it is opened)
2. Open Chrome and tap on the omnibox right away
3. Observe

Expected:
The omnibox is focused and updated to reflect that, then the NTP finishes loading and the tiles are snapped at the bottom of the omnibox

Actual:
The omnibox is focused and updated to reflect that, the the NTP finishes loading but does so as if the omnibox was not focused. It sill shows the fakebox, so we have 2 omniboxes showing.

 
Screenshot_2016-06-06-10-58-23.png
99 KB View Download
I can't reproduce this. Can you share more detail on which version you are looking at?
Owner: dgn@chromium.org
Status: Unconfirmed (was: Untriaged)
Friendly ping :)

Comment 3 by fi...@chromium.org, Jun 7 2016

I also can't repro it - at least on my N5x. But according to your screenshot you are using a much older device, right?

Comment 4 by fi...@chromium.org, Jun 7 2016

Labels: -ntp-fixit zine-ntp-pe

Comment 5 by dgn@chromium.org, Jun 7 2016

I can repro reliably on N5/KK and N6/L with debug builds

Using Chrome Dev on N6 it's less reliable, as Chrome starts much faster. See the attached video for repro. I tried on the N6 with Chrome Dev. at 0:30 I tried on a local build.
demo.mp4
15.4 MB Download
Status: Assigned (was: Unconfirmed)
Labels: Hotlist-Fixit-PE2016

Comment 8 by dgn@chromium.org, Jul 9 2016

Labels: -mr-untriaged zine-16-07-11
CL up for review: https://crrev.com/2133753002/

Comment 9 by dgn@chromium.org, Jul 9 2016

Status: Started (was: Assigned)
Project Member

Comment 10 by bugdroid1@chromium.org, Jul 11 2016

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

commit d2ea385339e75be9f8d8edcfa600273fd4db7a54
Author: dgn <dgn@chromium.org>
Date: Mon Jul 11 11:58:44 2016

[NTP] Delay the URL focus effects if they happen before NTP is loaded.

When the URL bar is focused before the NTP is loaded, the UI misses
the events and renders in the incorrect state. This change just runs
the effects of the event later.

BUG= 617582 

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

[modify] https://crrev.com/d2ea385339e75be9f8d8edcfa600273fd4db7a54/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
[modify] https://crrev.com/d2ea385339e75be9f8d8edcfa600273fd4db7a54/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java

Comment 11 by dgn@chromium.org, Jul 11 2016

Status: Fixed (was: Started)

Sign in to add a comment