Steps to reproduce:
0. Update to latest Canary.
1. Enable chrome://flags/#upcoming-ui-features.
2. Open a tab and navigate to google.com.
3. Open a second tab and type 'goog'.
Expected result: First suggestion is google.com, with a single-line (aka "split") layout.
Actual result: First suggestion is google.com, with a two-line layout (see attached screenshot).
The problem here is that the first suggestion is a tab match, so we apply the two-line layout. But it's also a keyword search suggestion, so we hide the tab switch button in favor of the keyword search indicator (right-facing chevron).
The solution is that when we decide to apply the two-line layout because of the tab match bit, we need to also check that the result is *not* a keyword search result.
|
Deleted:
two-line-layout-issue.PNG
13.2 KB
|
Comment 1 by bugdroid1@chromium.org
, Jul 19