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

Issue 613788 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jun 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 547953



Sign in to add a comment

[Mac][MaterialDesign] New EV Cert: The Lock icon is 1pt too far to the right

Project Member Reported by meh...@chromium.org, May 21 2016

Issue description

Version: Chromium Build 395248
OS: Mac OS 10.11.5

What steps will reproduce the problem? 
(1) Please see the screenshot. Compared to the other icons, the Lock icon in the new EV Cert is 1pt too far to the right.


Thanks
Mehmet
 
New_EV_Cert_Lock_Icon.png
72.6 KB View Download

Comment 1 by meh...@chromium.org, May 21 2016

Labels: Proj-MaterialDesign-NativeUI

Comment 2 by shrike@chromium.org, May 23 2016

Blocking: 547953
Cc: -spqc...@chromium.org
Labels: M-52
Owner: spqc...@chromium.org
Status: Assigned (was: Untriaged)
The distance between the lock and the left edge of the omnibox needs to be decreased by 1pt. The distance between the lock and the start of the text should remain the same.

Also, on non-Retina it looks like the lock icon needs to move up 1pt.

Comment 3 by meh...@chromium.org, May 23 2016

If possible, please don't move it up 1pt. Vertically it looks really fine on non-retina. Thank you :-)

Comment 4 by shrike@chromium.org, May 26 2016

Status: Started (was: Assigned)
I'm attaching a movie with http and ev cert screenshots overlapped. You can see that the lock icons are slightly different between the two. They should be the same.

I've also attached a screenshot showing how the ev cert text is 1pt higher than the URL text that follows it on Retina.

LockSizeAndColor.mov
959 KB Download
Screen Shot 2016-05-26 at 9.14.38 AM.png
30.4 KB View Download

Comment 5 by shrike@chromium.org, May 26 2016

Cc: sgabr...@chromium.org
Not just the icon, the colors are also slightly different.

Comment 7 by shrike@chromium.org, May 26 2016

So in a number of places where we set colors we are using calibrated colors. Instead we want to use sRGB colors (e.g. colorWithSRGBRed:green:blue:alpha:). I suspect that might be what's happening. It might not be easy to fix for vector images - I think the code that converts a Skia image to NSImage uses a generic or calibrated colorspace. We would need a hook to tell it to use the sRGB space.

Anyways, those are some thoughts. I think you should focus on getting the position and sizing correct, and explore the color issue but not let color hold up the other changes. We can always fix that in a different cl.

Comment 8 by meh...@chromium.org, May 26 2016

shrike@: Is the Keyword Search EV also 1pt higher than the typed text after the colon on Retina? (Sorry, I have no Retina to test it :-( ) Thanks.

Comment 9 by shrike@chromium.org, May 26 2016

I don't see that at all on non-Retina, for EV cert or search. See my screenshot. Can you attach a screenshot?

Screen Shot 2016-05-26 at 12.02.15 PM.png
16.2 KB View Download
Thanks for checking. On Non-Retina, both, the EV Cert and the Keyword Search, are looking fine aligned. Screenshots are attached.
Non-Retina_EV_Cert.png
29.0 KB View Download
Non-Retina_Keyword_Search.png
27.3 KB View Download
spqchan@ - it looks like you should use LOCATION_BAR_HTTPS_VALID everywhere and remove all instances of LOCATION_BAR_HTTPS_VALID_IN_CHIP.

Awesome, is this being address on Windows too? I can see that location_bar_view.cc is using LOCATION_BAR_HTTPS_VALID_IN_CHIP.
I don't know. estade@ claims we're the only ones using it, even though it's plainly there in codesearch. Maybe he or someone else is working on a cl to remove it.

Project Member

Comment 14 by sheriffbot@chromium.org, Jun 1 2016

Labels: -M-52 M-53 MovedFrom-52
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Fixed (was: Started)
Project Member

Comment 17 by bugdroid1@chromium.org, Jun 8 2016

Labels: merge-merged-2743
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a2ec6ca0d527ce67090b6c7c7de05e2572022d51

commit a2ec6ca0d527ce67090b6c7c7de05e2572022d51
Author: spqchan <spqchan@chromium.org>
Date: Wed Jun 08 18:31:51 2016

[Material][Mac] Adjustments to the Omnibox decorations

BUG= 613788 , 611113 

Review-Url: https://codereview.chromium.org/2002103003
Cr-Commit-Position: refs/heads/master@{#397734}
(cherry picked from commit 7de0ca5b7f66e36c74df676b9c0fbe2dc10364dd)

Review URL: https://codereview.chromium.org/2050623004 .

Cr-Commit-Position: refs/branch-heads/2743@{#282}
Cr-Branched-From: 2b3ae3b8090361f8af5a611712fc1a5ab2de53cb-refs/heads/master@{#394939}

[modify] https://crrev.com/a2ec6ca0d527ce67090b6c7c7de05e2572022d51/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
[modify] https://crrev.com/a2ec6ca0d527ce67090b6c7c7de05e2572022d51/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Project Member

Comment 18 by bugdroid1@chromium.org, Jun 15 2016

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

commit a2ec6ca0d527ce67090b6c7c7de05e2572022d51
Author: spqchan <spqchan@chromium.org>
Date: Wed Jun 08 18:31:51 2016

[Material][Mac] Adjustments to the Omnibox decorations

BUG= 613788 , 611113 

Review-Url: https://codereview.chromium.org/2002103003
Cr-Commit-Position: refs/heads/master@{#397734}
(cherry picked from commit 7de0ca5b7f66e36c74df676b9c0fbe2dc10364dd)

Review URL: https://codereview.chromium.org/2050623004 .

Cr-Commit-Position: refs/branch-heads/2743@{#282}
Cr-Branched-From: 2b3ae3b8090361f8af5a611712fc1a5ab2de53cb-refs/heads/master@{#394939}

[modify] https://crrev.com/a2ec6ca0d527ce67090b6c7c7de05e2572022d51/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
[modify] https://crrev.com/a2ec6ca0d527ce67090b6c7c7de05e2572022d51/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Labels: Needs-Feedback
spqchan@ : Could you please let us know if any specific steps and urls to verify from TE end.Please find the attached screen shot of MacBook Air 10.11.5 using 52.0.2743.41.
June 15_Mac.png
30.9 KB View Download

Sign in to add a comment