After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 582516 - Colorful sliders
Colorful sliders
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Sound
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Control center sound maintainer(s)
gnome media maintainers
3.10
Depends on:
Blocks:
 
 
Reported: 2009-05-13 18:22 UTC by Lennart Poettering
Modified: 2021-06-09 16:00 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Lennart Poettering 2009-05-13 18:22:02 UTC
Bastien asked to split this of bug 574312:

As discussed on IRC it might make sense to expose base_volume/VOLUME_NORM as colors on the slider.

Here are my suggestions:

A) if decibel volumes are supported both for sinks and for sources the volume
range should be extended to 150% or so. (We already have that for sources, but
I think this should be allowed for sinks, too. It is useful if you play some
movies on unamplified speakers and has been requested many times on the the PA
IRC channel, PA ML)

B) If decibel volumes are supported and base_volume is > MUTED and < NORM, then
the part of the slider between MUTED and base_volume should be colored green.
The part of the slider between base_volume and NORM should be colored yellow.
And the part > NORM should be colored red.

C) If decibel volumes are supported and base_volumes equals MUTED or NORM the
part between MUTED and NORM should be colored green, and everything > NORM
should be red. No part shall be yellow.

D) If no decibel volumes are supported, the range cannot be extended, and hence
is limited to MUTED..NORM. 

E) If no decibel volumes are supported and if base_volume is > MUTED and <
NORM, the part < base_volume shall be colored green, the part > base_volume
shall be colored yellow. No part shall be red.

F) If no decibel volumes are supported and if base_volume equals MUTED or NORM
the part entire slider should be green.

I'd assume that the coloring would be implemented as smooth gradient. If that's
the case then in cases E and F it might be an idea to start the gradient to red
at the end of the slider, but not actually become fully red, because the slider
ends at NORM.
Comment 1 Lennart Poettering 2010-02-21 18:44:00 UTC
Also see:

http://pulseaudio.org/wiki/WritingVolumeControlUIs#Colouredvolumesliders
Comment 2 Bastien Nocera 2010-11-10 13:16:44 UTC
Mass move to gnome-control-center.
Comment 3 Bastien Nocera 2012-08-24 17:20:41 UTC
Mass reassign, sorry for the noise.
Comment 4 Matthias Clasen 2012-08-25 00:39:14 UTC
See GtkColorChooser for how to do this kind of thing with GtkScale
Comment 5 André Klapper 2021-06-09 16:00:29 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.