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

Issue 667665 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug-Regression

Blocking:
issue 661307



Sign in to add a comment

visD tweaks for new sign-in warning dialogue

Reported by jshan...@etouch.net, Nov 22 2016

Issue description

Chrome Version: 57.0.2926.0 (Official Build)Revision da59d418f54604ba2451cd0ef3a9cd42c05ca530-refs/heads/master@{#433437} (32/64-bit)
OS:Windows (7,8,10), Mac (10.11.6, 10.12.1), Linux (14.04 LTS)

What steps will reproduce the problem?
(1)Launch chrome and click on avatar icon , sign in with valid credentials.
(2)Navigate to chrome://md-settings and click on 'sign out' button.
(3)Again sign in with different credentials and press tab key, observe the focus.

Actual: Overlapping of text and focus ring is observed after pressing tab key in confirmation dialog box.

Expected: No such overlapping should be seen after pressing tab key in confirmation dialog box.

This is a regression issue broken in 'M57' and below is the manual regression range:
Good Build: 56.0.2924.0
Bad Build: 57.0.2926.0

 
ActualResult.png
79.9 KB View Download

Comment 1 by jshan...@etouch.net, Nov 22 2016

Cc: msrchandra@chromium.org
Labels: hasbisect-per-revision
Owner: msarda@chromium.org
Status: Assigned (was: Unconfirmed)
Using the per-revision bisect providing the bisect results,
Good build: 56.0.2924.0 (Revision: 433059).
Bad build: 57.0.2926.0 (Revision: 433437).

You are probably looking for a change made after 433176 (known good), but no later than 433177 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/09cceadb789bf9836f6f3bb6bd342df94e34b15c..8c24599eb8d95b70cf0a7ed017ca61c843326324

@msarda -- 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.

Thank You.

Comment 3 by msarda@chromium.org, Nov 22 2016

Cc: cl...@chromium.org ew...@chromium.org
Labels: -OS-Linux
This bisect is correct - this UI changed with my CL. This UI was redone in that CL (there were no radio buttons before).

I guess I need to increase the spacing between the buttons and the text.

Comment 4 by ew...@chromium.org, Nov 22 2016

Cc: bettes@chromium.org
Labels: -Pri-1 Pri-2
Unfortunately, all of our UXers are out of office right now.

I will bring it up with them when they're back next week (post-Thanksgiving).

How were you getting the values for the padding right now, Mihai?

Comment 5 by msarda@chromium.org, Nov 22 2016

To my knowledge, I have not changed the spacing at all. While looking at the mocks, I can see there is more spacing between the radio button and its label.

Comment 6 by ew...@chromium.org, Nov 22 2016

Interesting. And you're just using the default spacing?

I'll ask a UXer for specific padding measurements when they're back in office next week.

Comment 7 by ew...@chromium.org, Dec 1 2016

Cc: msarda@chromium.org
Labels: identity-ux-backlog
Owner: bettes@chromium.org
+Alan to help with the spec for the padding between the radio buttons and the text
Owner: msarda@chromium.org
Specs attached. All these components are live on dev-channel settings for reference. 

- Ripple diameter is 40px, and black with alpha (not colored)
- components should be painted with Chrome blue: #4285F4 (not polymer purple)


08_existingdata_desktop.png
70.9 KB View Download
Cc: dbeam@chromium.org
+dbeam@ who can point you to the code
Labels: -identity-ux-backlog
Status: Started (was: Assigned)
Pete pointed out a mistake in the numbers for the button container. Re-attaching the spec with correct 64px button container height
08_existingdata_desktop.png
71.9 KB View Download
Project Member

Comment 13 by bugdroid1@chromium.org, Dec 13 2016

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

commit 052b535c63488892a84df2ffa0b230627885a05e
Author: msarda <msarda@chromium.org>
Date: Tue Dec 13 22:25:02 2016

Change the radio button styling to the sign-in confirmation dialog

This CL does the following changes to the radio button:
* Ripple diameter is now 40px, and black with alpha (not colored)
* Radio button is painted with Chrome blue: #4285F4 (not polymer purple)

BUG= 667665 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/052b535c63488892a84df2ffa0b230627885a05e/chrome/browser/resources/signin/signin_shared_css.html

Comment 14 by ew...@chromium.org, Dec 14 2016

Blocking: 661307
Thanks Mihai! Can we close this out as "Fixed"?
Status: Fixed (was: Started)
Status: Assigned (was: Fixed)
Re-opening to address a few overlooked specifications: 

1. Let's expand the dialog width from 448px > 512px to accommodate text-length
2. When the header runs over to 2 lines, ensure there's 16px padding top and bottom
3. header line-height: 22px
4. body line-height: 20px
5. radio_off color: #757575
6. header and body text: #333333


08_existingdata_desktop.png
159 KB View Download
Status: Started (was: Assigned)
I have CL https://codereview.chromium.org/2625663003 in flight that will address there requirements as explained below:

> 1. Let's expand the dialog width from 448px > 512px to accommodate text-length
Done. Note that this makes it bigger than all the other sign-in dialogs (like sign-in, sync confirmation and sign-in error dialogs that are all 448px)

> 2. When the header runs over to 2 lines, ensure there's 16px padding top and bottom
In CSS, it is pretty impossible to make it be 52 pixels in a case and 32+2*line height in another case. So, I've basically coded it as being 2*16+nb_lines*line_height in all cases. This means that in the case of a single line, this will be 2*16+22=54 and for 2 lines it will be 2*16+2*22=76px.

> 3. header line-height: 22px
Done.

> 4. body line-height: 20px
The paper radio button does not support a custom line height for its label - the only parameters we can configure on it are listed here https://cs.chromium.org/chromium/src/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html?rcl=0&l=35

> 5. radio_off color: #757575
Done

> 6. header and body text: #333333
Done

See attached screenshots for how this dialog looks on Windows. Please LMK if something still looks off in any way.

signin_email_confirmation_dialog_nomal_email.PNG
19.7 KB View Download
signin_email_confirmation_dialog_long_email.PNG
18.3 KB View Download

Comment 19 by ew...@chromium.org, Jan 10 2017

Owner: bettes@chromium.org
Re-assigning to Alan to answer your questions above and give an LGTM before you land the CL. Alan, please re-assign to Mihai after you've given feedback.

Comment 20 by ew...@chromium.org, Jan 10 2017

Summary: visD tweaks for new sign-in warning dialogue (was: Regression:Overlapping of text and focus ring is observed after pressing tab key in confirmation dialog box.)

Comment 21 Deleted

Sorry Mihai, I didn't explicitly call out the additional 16px between rule line and 1st radio button label. See attached. Comments below...


> 1. Let's expand the dialog width from 448px > 512px to accommodate text-length
Done. Note that this makes it bigger than all the other sign-in dialogs (like sign-in, sync confirmation and sign-in error dialogs that are all 448px)

Noted :)

> 2. When the header runs over to 2 lines, ensure there's 16px padding top and bottom
In CSS, it is pretty impossible to make it be 52 pixels in a case and 32+2*line height in another case. So, I've basically coded it as being 2*16+nb_lines*line_height in all cases. This means that in the case of a single line, this will be 2*16+22=54 and for 2 lines it will be 2*16+2*22=76px.

SGTM. Thanks for improvising.

> 4. body line-height: 20px
The paper radio button does not support a custom line height for its label - the only parameters we can configure on it are listed here https://cs.chromium.org/chromium/src/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html?rcl=0&l=35

I believe we've done something similar in Settings so I asked dbeam@ and he said he commented in the review and told me to look at this: https://jsfiddle.net/rtvqztbr/

Hopefully this answers your questions. Let me know. 

> 5. radio_off color: #757575
Done

Your screenshots don't reflect this at the moment. Intentional? 


Screen Shot 2017-01-10 at 10.40.49 AM.png
50.0 KB View Download
I've hacked something together to test the line-height
Screen Shot 2017-01-10 at 11.14.15 AM.png
95.9 KB View Download
6. 16px between title bar and the first radio button:
Done

7. Radio button color #757575
Done (it looks like --paper-grey-600 works for --paper-radio-button-unchecked-colo but --google-grey-600 done not )

8. Radio button line height of 20px
Done (thanks for the tip)

See attached screenshot.
signin_email_confirmation_dialog_nomal_email_v2.PNG
16.0 KB View Download

Comment 25 by ew...@chromium.org, Jan 11 2017

Owner: bettes@chromium.org
Re-assigning to Alan to sign-off on latest implementation. Alan, if it looks good to you, please re-assign back to Mihai to land the CL.
Owner: msarda@chromium.org
Perfecto! Thanks Mihai! 
Project Member

Comment 27 by bugdroid1@chromium.org, Jan 13 2017

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

commit a0b7a374a98a7aa4902e922ad7b7279ade10c3da
Author: msarda <msarda@chromium.org>
Date: Fri Jan 13 21:03:44 2017

Layout nits for the signin email confirmation dialog.

This CL does the following layout changes for the sign-in email confirmation
dialog:
1. Expands the dialog width from 448px > 512px to accommodate text-length
2. Change the height og the title bar to have a 16px padding at the top and
at the bottom.
3. Change title line-height to 22px
4. Chaneg the title font color to: #333333
5. Change radio_off color: #757575 (this is google-grey-600)

BUG= 667665 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/a0b7a374a98a7aa4902e922ad7b7279ade10c3da/chrome/browser/resources/signin/signin_email_confirmation/signin_email_confirmation.html
[modify] https://crrev.com/a0b7a374a98a7aa4902e922ad7b7279ade10c3da/chrome/browser/resources/signin/signin_email_confirmation/signin_email_confirmation.js
[modify] https://crrev.com/a0b7a374a98a7aa4902e922ad7b7279ade10c3da/chrome/browser/resources/signin/signin_shared_css.html
[modify] https://crrev.com/a0b7a374a98a7aa4902e922ad7b7279ade10c3da/chrome/browser/ui/webui/signin/signin_email_confirmation_dialog.cc

Status: Fixed (was: Started)
Cc: rbasuvula@chromium.org
Labels: TE-Verified-57.0.2984.0 TE-Verified-M57
Tested the issue on Windows-7 and Mac OS 10.12 using chrome latest Beta M57-57.0.2984.0 by following steps mentioned in the original comment. Observed that No overlapping should be seen after pressing tab key in confirmation dialog box. Hence adding TE-Verified label.

Please fins the screen shot for reference.

Thank you!

667665.png
163 KB View Download

Sign in to add a comment