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

Issue 594678 link

Starred by 4 users

Issue metadata

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

Blocking:
issue 547953



Sign in to add a comment

MD Toolbar: Hover state with theme is not noticeable

Project Member Reported by rsesek@chromium.org, Mar 14 2016

Issue description

Version: 51.0.2673.0
OS: 10_11_3

What steps will reproduce the problem?
(1) Install https://chrome.google.com/webstore/detail/greyscale/olagifopidokilmoeiiejpmpfclmopfk
(2) Hover over a toolbar button
(3) Can't tell if there's a hover state

What is the expected output? What do you see instead?
The screen shot shows the reload button being hovered-over, compared to the forward button.

Please use labels and text to provide additional information.
 
Screen Shot 2016-03-14 at 4.25.44 PM.png
7.0 KB View Download

Comment 1 by shrike@chromium.org, Mar 22 2016

Blocking: 547953
Cc: shrike@chromium.org
Labels: M-51
Owner: sgabr...@chromium.org
Cc: -shrike@chromium.org
Labels: -M-51 M-52
Owner: shrike@chromium.org
I believe this is because the MD code is determining that this theme is a "dark" theme and so is using the 8% white hover states. I need to see why it considers it a dark theme.

Comment 3 by shrike@chromium.org, May 18 2016

Status: Started (was: Assigned)
It looks like the toolbar was always using the partially-transparent light hover background, which made the background invisible against a light theme.

Project Member

Comment 4 by bugdroid1@chromium.org, May 19 2016

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

commit 94c1aa12416a70721b4bf4b0cb3b416282e5060e
Author: shrike <shrike@chromium.org>
Date: Thu May 19 16:49:55 2016

[Mac][Material Design] Fix toolbar icon hover bg for custom themes.

The toolbar button was set to always show the light version of the
hover background. For light themes, this rendered the hover background
invisible.

R=avi@chromium.org
BUG= 594678 

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

[modify] https://crrev.com/94c1aa12416a70721b4bf4b0cb3b416282e5060e/chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.mm

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

Status: Fixed (was: Started)

Sign in to add a comment