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

Issue 694129 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regresion : "Set as default" button is seen chopped from both the (left & right) sides.

Reported by yfulgaon...@etouch.net, Feb 20 2017

Issue description

Chrome Version : 58.0.3018.0 (Official Build) 5e7216844858ad1d08a70ac7aeef88547db2be7f-refs/heads/master@{#451537} 32/64 bit
OS : Windows (7,8,10)

Precondition :  Please set "Firefox" as your default browser.

What steps will reproduce the problem?
1. Freshly install chrome and launch it.
2. Type chrome://restart in omnibox and hit 'Enter' key (chrome restarts).
3. Observe the "Set as default" button in a dialog.

Actual : "Set as default" button is seen chopped from both the sides.
Expected : "Set as default" button should be seen properly.

This is a regression issue broken in ‘M-58’, below is the Manual Regression range and will soon update other info.
Good build : 58.0.3017.0
Bad build : 58.0.3018.0

Note : Above issue is not seen on Mac(10.11.6, 10.12.1, 10.12) OS and will soon update Linux info once the Linux build #58.0.3018.0 is available.
 
Act_Exp_Button.png
17.7 KB View Download
Actual_Button.mp4
1.0 MB View Download
Expected_Button.mp4
1.3 MB View Download
Labels: OS-Linux
Update : 
Above issue is also seen on Linux (14.04 LTS) OS in build #58.0.3018.0

Thank you!
Cc: rbasuvula@chromium.org
Labels: hasbisect-per-revision M-58
Owner: bsep@chromium.org
Status: Assigned (was: Unconfirmed)
Using the per-revision bisect providing the bisect results,
Good build: 58.0.3017.0 (Revision: 451476).
Bad build: 58.0.3018.0 (Revision: 451537).

You are probably looking for a change made after 451496 (known good), but no later than 451497 (first known bad).

CHANGE-LOG URL:
---------------
https://chromium.googlesource.com/chromium/src/+log/4ce7ff3ecc5d5b638cfdd38b956e80671426742a..b621d8cec36bec73ef3eacddbcd7c998aee80cae

From the CL above, assigning the issue to the concern owner

@bsep: Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to concern owner.

Review-Url: https://codereview.chromium.org/2660553005

Note : Able to reproduce the issue in Ubuntu 14.04 & Win 10.0 Not in Mac 10.12.3.and able to reproduce in latest Canary #58.0.3018.0

Labels: ReleaseBlock-Stable

Comment 4 by bsep@chromium.org, Feb 21 2017

Cc: bsep@chromium.org
 Issue 694412  has been merged into this issue.

Comment 5 by bsep@chromium.org, Feb 22 2017

I'm not seeing this reproduce on 58.0.3020.0 (see attached screenshots for this and duplicate  issue 694412 ). Not sure why, it doesn't seem like the relevant code has been updated since my change. Feel free to reopen if this comes up again.
set-as-default.PNG
149 KB View Download
hindi-download-button.PNG
554 KB View Download

Comment 6 by bsep@chromium.org, Feb 22 2017

Status: WontFix (was: Assigned)
Status: Assigned (was: WontFix)
With response to comment #5,

Rechecked the issue on latest canary #58.0.3021.0 in Win 10 machine and issue is still reproducible. Please follow the below steps to reproduce the original issue consistently.

Precondition :  Set "Firefox" as your default browser.

1. Freshly install chrome and launch it.
2. Open NTP, type chrome://restart in omnibox and hit 'Enter'.
3. Repeat step 2 again and observe. (Kindly refer an attached screencast)

Latest_Canary_behaviour.mp4
1.7 MB View Download

Comment 8 by bsep@chromium.org, Feb 23 2017

Status: Started (was: Assigned)
Okay I see it. It only reproduces at 1x dsf, and not with the force-device-scale-factor flag, annoyingly.

Comment 9 by bsep@chromium.org, Feb 23 2017

Cc: rpop@chromium.org pkasting@chromium.org
 Issue 695555  has been merged into this issue.
Project Member

Comment 10 by bugdroid1@chromium.org, Feb 24 2017

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

commit 2c407ccc88aae08641fcb667277df2b08a2f251a
Author: bsep <bsep@chromium.org>
Date: Fri Feb 24 21:48:55 2017

Fix the absence of padding on some UI buttons.

It turns out that despite what I thought some buttons are being created
as MdTextButtons even when harmony is off, for example in the infobar. So
this patch reverts some changes from crrev.com/2660553005 to ensure
behavior pre-harmony remains unchanged.

BUG= 694129 

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

[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/chrome/browser/ui/views/chrome_views_delegate.cc
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/chrome/browser/ui/views/chrome_views_delegate.h
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/chrome/browser/ui/views/harmony/layout_delegate.cc
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/chrome/browser/ui/views/harmony/layout_delegate.h
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/ui/views/controls/button/md_text_button.cc
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/ui/views/layout/layout_constants.h
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/ui/views/views_delegate.cc
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/ui/views/views_delegate.h
[modify] https://crrev.com/2c407ccc88aae08641fcb667277df2b08a2f251a/ui/views/window/dialog_client_view.cc

Comment 11 by bsep@chromium.org, Feb 24 2017

Status: Fixed (was: Started)
Labels: TE-Verified-58.0.3025.5 TE-Verified-M58
Tested the issue on Windows-7 and Linux Ubuntu-14.04 using Chrome version 58.0.3025.5 as per the comment #0.

Observed that the fix is working as expected.

Please find the attached the screenshot for reference.

Hence, adding the verified labels.

Thanks.
694129.PNG
9.4 KB View Download

Sign in to add a comment