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

Issue 603176 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 603372



Sign in to add a comment

Harmony controls should support support the Graphite appearance option

Project Member Reported by shrike@chromium.org, Apr 13 2016

Issue description

If you choose Graphite in the General section of System Preferences, the Shiny modern controls should draw themselves using gray rather than blue.
 

Comment 1 by tapted@chromium.org, Apr 14 2016

Labels: Phase1
Bulk-labelling blocking bugs for  Issue 603372 

Comment 2 by tapted@chromium.org, Apr 14 2016

Blocking: 603372

Comment 3 by tapted@chromium.org, Apr 14 2016

Labels: M-52
bulk-tagging Phase1 for M52
Cc: tapted@chromium.org
Status: Available (was: Untriaged)
Labels: -Hotlist-MacViews Proj-MacViews

Comment 6 by tapted@chromium.org, May 31 2016

Labels: M-53
migrating Phase2 stuff to M53

Comment 7 by tapted@chromium.org, May 31 2016

Labels: -M-52
Project Member

Comment 8 by sheriffbot@chromium.org, Jul 14 2016

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

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Owner: ellyjo...@chromium.org
Status: Assigned (was: Available)
I can take this one on.
Summary: Harmony controls should support support the Graphite appearance option (was: Shiny modern controls should support support the Graphite appearance option)
Chatted with sky@:

NativeWidgetMac should listen for the system notification (NSControlTintDidChange, etc) and send off OnNativeThemeChanged to the view hierarchy. Should not actually be that difficult to do.
Status: Started (was: Assigned)
Three separate grayscaling algorithms attached. I think luminance looks best.

https://codereview.chromium.org/2251123002/
aqua.png
7.9 KB View Download
graphite linear.png
8.2 KB View Download
graphite minmax.png
8.3 KB View Download
graphite luminance.png
8.3 KB View Download
Project Member

Comment 13 by bugdroid1@chromium.org, Aug 22 2016

estade@ recently fixed the radio button/checkbox focus ring drawing. When I run views_examples_with_content_exe in graphite mode the ring is still blue.

Also when I run views_examples_with_content_exe in normal mode the radio buttons/checkboxes draw with a dark gray. Is that a result of your change? This is on my Retina MacBook Pro.

Screen Shot 2016-08-22 at 4.11.53 PM.png
13.3 KB View Download
Screen Shot 2016-08-22 at 4.12.17 PM.png
18.6 KB View Download
I should've said that the dark gray (possibly black) is being used in graphite mode also. It's too dark.
I have not yet changed the colors on radiobuttons or focus rings; the change I landed just added wiring and changed buttons. I'll have a look at why the radio buttons are drawing in black like that, since they shouldn't be.
I figured estade@'s change bypassed your change so I was just letting you know. Radio button is a subclass of checkbox I think, so I expected your change to appear in both places. Even though I included radio button screenshots the checkbox control has the same problem with drawing in black.

Project Member

Comment 18 by bugdroid1@chromium.org, Aug 31 2016

Status: Fixed (was: Started)
Marking this as Fixed now. If you spot any controls that do not get graphite-ized, please file individual bugs for them :)
The Primary button is a solid block of gray in graphite mode - I'm thinking this may be too much, but I can't tell until we have Harmony panels up-and-running. So we may need to tweak their gray fill.

Sign in to add a comment