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

Issue 876701 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 18 days ago
Closed: Aug 29
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug-Regression



Sign in to add a comment

Regression: [NTP] Overlapping between 'Restore default background' text and icon is seen.

Reported by db...@etouch.net, Aug 22

Issue description

Chrome Version: 70.0.3530.0 Revision a20250ff3690485ecc1cfaf289802499a7e611aa-refs/branch-heads/3530@{#1}(64 bit)
OS: Mac (10.12.6, 10.13.1,10.13.6, 10.14)

Precondition: Enabled 'Enable using the Google local NTP','New Tab Page Background Selection' and 'New Tab Page Custom Links' flags from chrome://flags page.

What steps will reproduce the problem?
(1) Launch chrome, open NTP and click on 'Gear' icon ('Customise this page' overlay opened)
(2) Now press Cmd++ to zoom in page and observe.

Actual: Overlapping between 'Restore default background' text and icon is seen.

Expected: No such a overlapping should seen.

This is a regression, broken in 'M70', below is bisect info:

Good Build:70.0.3507.0(Revision:578962)
Bad Build: 70.0.3508.0(Revision:579241)

You are probably looking for a change made after 578988 (known good), but no later than 578989 (first known bad).
CHANGELOG URL:
The script might not always return single CL as suspect as some perf builds might get missing due to failure.

https://chromium.googlesource.com/chromium/src/+log/6f093af4d47dfa53b5bc046602c2c420d5ce3f19..0e19d3a4cfebed8a43abe543b4d6a9092f7e2b8f

Suspect: https://chromium.googlesource.com/chromium/src/+/0e19d3a4cfebed8a43abe543b4d6a9092f7e2b8f

kristipark@: Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Note: This is Mac OS specific issue and same is not reproducible in Windows(7,8,8.1,10) & Linux(14.04 LTS) OS.

Thank you.
 
Actual_Video.mov
4.6 MB View Download
Expected_Video.mov
3.9 MB View Download
Cc: yyushkina@chromium.org kristip...@chromium.org ramyan@chromium.org
Labels: -Pri-1 Pri-2
Owner: sweilun@chromium.org
Status: Started (was: Assigned)
So in fact the behavior we've seen right now is a kind of expected behavior. As we can see in the expected video. If the text is too long for the dialog, it will move down to next row. This is the same behavior as the actual video. However, we add another option that have a long title(restore default shortcuts). They both move down a row. I think a better question is what is the expected behavior for this edge case?
Cc: sweilun@chromium.org
Labels: -Pri-2 Pri-3
Owner: bklmn@chromium.org
I think the menu should probably grow with the zoom.

Joel - are there any style guidelines here?
Cc: bettes@chromium.org
I don't know of any guidelines around this. Adding in bettes@ for his POV. 
Cc: bklmn@chromium.org
Owner: sweilun@chromium.org
Checked with Joel - menu should grow in proportion.
Cc: kmilka@chromium.org
Labels: zine-triaged
Project Member

Comment 8 by bugdroid1@chromium.org, Aug 29

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

commit 588a27f33655f2d403930eddf3ef0aed5a01a0fe
Author: Weilun Shi <sweilun@chromium.org>
Date: Wed Aug 29 06:32:42 2018

[NTP] change width for custom background dialog on small window

Changing the width of custom background dialog to 232px when the window
size is smaller than 356px. The value is decided by the length of the
longest option title plus 16px margin on the right.

Screenshot:
https://screenshot.googleplex.com/iGyXF8Kzesh.png

Bug:  876701 
Change-Id: I73b8a187110f303a8627271996ff2f5c8881275b
Reviewed-on: https://chromium-review.googlesource.com/1192218
Reviewed-by: Kristi Park <kristipark@chromium.org>
Commit-Queue: Weilun Shi <sweilun@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587025}
[modify] https://crrev.com/588a27f33655f2d403930eddf3ef0aed5a01a0fe/chrome/browser/resources/local_ntp/custom_backgrounds.css

Status: Fixed (was: Started)
Labels: TE-Verified-M70 TE-Verified-70.0.3536.0
Update:

Tested above issue in Canary build #70.0.3536.0 on Mac (10.12.6, 10.13.1,10.13.6, 10.14) OS and the issue is fixed. 

Thank you..!

Actual_Fix.mov
8.0 MB View Download
Labels: AddToRemoteNTP
Labels: -AddToRemoteNTP SupportedInRemoteNTP

Sign in to add a comment