New issue
Advanced search Search tips

Issue 611617 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 495654



Sign in to add a comment

[Material] Incorrect color for graphics on the omnibox

Project Member Reported by spqc...@chromium.org, May 13 2016

Issue description

Icons are supposed to be painted with 0xFFFFFF and 80% opaque if the omnibox is in incognito dark mode. However, DeriveDefaultIconColor is blending with a black background

See  Issue 610738  for more details
 
Blocking: 495654
Labels: M-53
Owner: est...@chromium.org
Evan, do you remember the context here?

Comment 2 by est...@chromium.org, May 13 2016

In the past, Sebastien said all the grey icons should be the same color (the navigation buttons, the location bar icons, bookmark folders, app menu, etc.) regardless of the background. Since the background is different for the toolbar and the location bar, we intentionally blend with a solid color.

It seems that now the spec may have changed, although it's hard to verify when he's in Tokyo.
Cc: sgabr...@chromium.org
Sebastien, perhaps you could clarify the current expectations here.

I'm personally OK with these groups of icons winding up as different colors, but we definitely should know what the overall plan is.

Comment 4 by est...@chromium.org, May 13 2016

Status: Started (was: Untriaged)
Sebastien says 80% opaque white for incognito, 100% opaque #5a5a5a for normal. Thus the icons will have the same color in normal and different colors in incognito.
I don't think spec changed since quite a while. Icons in normal were always #5a5a5a and at the time we were finishing incognito on Windows, Peter made the remark that the 100% #FFF icon where a bit too strong compared to their normal counter part. we then applied the 80% alpha on them to dim them a bit. Sorry if this wasn't conveyed the proper way.
Project Member

Comment 6 by bugdroid1@chromium.org, May 16 2016

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

commit b216164c4d208a54f3469fc4b6fb5c3f845d38c6
Author: estade <estade@chromium.org>
Date: Mon May 16 19:14:40 2016

[MD] Adjust algorithm for colorizing icons in incognito contexts.

BUG= 611617 

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

[modify] https://crrev.com/b216164c4d208a54f3469fc4b6fb5c3f845d38c6/ui/gfx/color_utils.cc

So, do Mac and Views now agree?  If so, can this bug be closed?

Comment 8 by est...@chromium.org, May 18 2016

Status: Fixed (was: Started)
they should yes. There's still some special casing for OSX that could probably be removed, but I'll leave that to the mac folks.

Sign in to add a comment