Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default and hover-state colors for audio-playing icons are reversed in dark mode #17102

Open
stephendonner opened this issue Jul 21, 2021 · 5 comments
Labels
audio bug design A design change, especially one which needs input from the design team feature/tabs-bar OS/Desktop priority/P4 Planned work. We expect to get to it "soon".

Comments

@stephendonner
Copy link

Description

Default and hover-state colors for audio-playing icons are reversed in dark mode; found while testing #16860.

Steps to Reproduce

  1. new profile
  2. launch Brave
  3. open brave://settings/appearance and from Brave colors choose Dark
  4. open a tab with audio (like https://www.youtube.com/watch?v=rA56B4JyTgI)
  5. open a blank new tab
  6. without selecting it, hover over the audio icon in the YouTube tab
  7. note the default and hovered colors

Actual result:

The default color for the audio-playing icon is dark grey; on hover, it turns to a lighter shade of grey.

default hovered
Screen Shot 2021-07-21 at 4 25 06 PM Screen Shot 2021-07-21 at 4 25 13 PM

Expected result:

The audio-playing icon should be the lighter grey color by default, and become the darker shade of grey on hover.

124976022-94af0380-dfe3-11eb-9a44-b3a5529140f7

Reproduces how often:

100%

Brave version (brave://version info)

Brave 1.29.16 Chromium: 92.0.4515.101 (Official Build) nightly (x86_64)
Revision edb73f4fb624e2ea0cb6f5cc39c9e317ecd3535b-refs/branch-heads/4515@{#1536}
OS macOS Version 11.4 (Build 20F71)

/cc @karenkliu

@ygoe
Copy link

ygoe commented Sep 2, 2021

Not just these colours. The entire symbol is hardly readable here. The foreground colours seem to be inversed between active and inactive tabs/windows. Maybe it's my theme that resembles a default Windows 10 title bar. But the theme doesn't give me more options, so theming might break this icon altogether.

I'm also not happy with its new placement. Before today's update, the icon was at the right end of the tab header, next to its close button. So when switching to the tab, I had to avoid clicking in the right end or I'd mute or close the tab that I wanted to activate. Now, the button has moved left, next to the favicon. So now there are two separate areas I have to avoid, making the safe clickable area to activate a smaller tab very small! Somebody hasn't thought about usability here.

Here's a screen recording (couldn't add the mouse pointer (I need my defaults otherwise) but you can guess where it is).

brave-tab-audio-icon.mp4

@bsclifton
Copy link
Member

I thought this was intentional?
cc: @rebron @nullhook

@ygoe
Copy link

ygoe commented Sep 2, 2021

When I think about it, it might also be the background colour that's wrong, not the foreground. Then there would just be a speaker icon in the default text colour with no circle background. Like it used to be here and is in Firefox. Either way, this is unreadable.

@karenkliu
Copy link

karenkliu commented Sep 2, 2021

The expected result that @stephendonner posted is what's intended! We intentionally left the mute contrast higher contrast for great visibility when not clicked, and a subtle decrease in contrast when hovered.

@ygoe
Copy link

ygoe commented Sep 2, 2021

There is indeed a very high contrast of the icon and its circle background – against the tab background. There is almost no contrast between the icon and its circle background. How is this supposed to be recognisable? It's only good if the browser window is inactive altogether.

I've attached my theme so you can see for yourself, not sure if you can use that file.
BraveThemeWindowsDesktop.zip

Update: I've also noticed that the inverse circle background disappears immediately when the playback has stopped, while the foreground icon is slowly fading out before it also disappears and releases its width. The colours during this fadeout look okay. So I think the background circle should simply be removed altogether. It only makes things worse.

@rebron rebron added priority/P4 Planned work. We expect to get to it "soon". design A design change, especially one which needs input from the design team labels May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audio bug design A design change, especially one which needs input from the design team feature/tabs-bar OS/Desktop priority/P4 Planned work. We expect to get to it "soon".
Projects
Status: P4 backlog
Development

No branches or pull requests

5 participants