Media control buttons in Unity Sound menu are solid black on hover

Bug #1018536 reported by Christopher Kyle Horton on 2012-06-27
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Christopher Kyle Horton

Bug Description

The buttons controlling playback in Unity's Sound menu are solid black on hover except for the icons in them when using Salience. They should use the same dark gray the rest of the theme uses, among other things.

Related branches

A video in which this issue can be seen is available on bug 1014208.

kroq-gar78 (kroq-gar78) on 2012-06-29
Changed in salience:
status: Confirmed → Triaged
kroq-gar78 (kroq-gar78) on 2012-06-30
Changed in salience:
milestone: none → 1.0

Could there possibly be something useful here for fixing this?

kroq-gar78 (kroq-gar78) on 2012-07-14
tags: added: gtk-3
kroq-gar78 (kroq-gar78) on 2012-07-24
tags: added: ugly-program

Note that this bug does not exist if one is using the theme in Quantal. Why, I do not know.

kroq-gar78 (kroq-gar78) wrote :

Do you want to ask Daniel Fore about how to fix this? It's not an issue in the elementary theme, so it must've been fixed somehow. Last I tried, I couldn't find out where the fix was.

I want to try a couple more things first. I've been looking at the indicator-sound source and it sounds to me like we might actually be attempting to theme what is called a "TransportWidget". Specifically, the draw() function in transport-widget.c might offer up some clues, as that is where it appears the sound menu buttons are actually being drawn:

The trick then is to decipher the Gtk drawing code to try and figure out what we're actually trying to target in the CSS. I'm currently reviewing the Gtk+3 documentation to figure out what the different functions in there near the top do.

Changed in salience:
status: Triaged → In Progress
assignee: nobody → Christopher Kyle Horton (christhehorton)

Aha! It looks like the buttons get their theming from *.menu. Got their coloration mostly fixed now except for hover (they're still black then).

summary: - Media control buttons in Unity Sound menu are solid black
+ Media control buttons in Unity Sound menu are solid black on hover
description: updated
Changed in salience:
milestone: 1.0 → 2.0-beta
Changed in salience:
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers