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 598459 - the mute icon is used when the volume is set to 0 but not muted
the mute icon is used when the volume is set to 0 but not muted
Status: RESOLVED NOTABUG
Product: gnome-media
Classification: Deprecated
Component: gnome-volume-control
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: gnome media maintainers
gnome media maintainers
: 598457 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-14 16:25 UTC by Sebastien Bacher
Modified: 2010-10-28 18:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2009-10-14 16:25:33 UTC
The bug has been described on https://launchpad.net/bugs/444548

using GNOME 2.28 and gnome-media 2.28.1

* click on the mixer applet, move the slider to volume 0
* the volume is muted and the icon changed to a mute one
* right click, uncheck the mute box

the icon displayed is still a muted one, it should not
Comment 1 Sebastien Bacher 2009-10-14 16:26:07 UTC
*** Bug 598457 has been marked as a duplicate of this bug. ***
Comment 2 Sebastien Bacher 2009-10-14 16:26:34 UTC
*** Bug 598457 has been marked as a duplicate of this bug. ***
Comment 3 Vish 2009-10-14 17:27:59 UTC
The applet can use the status/stock_volume-0 icon for volume = 0 instead of using volume mute icon.
Comment 4 Bastien Nocera 2009-10-15 15:44:26 UTC
(In reply to comment #0)
> The bug has been described on https://launchpad.net/bugs/444548
> 
> using GNOME 2.28 and gnome-media 2.28.1
> 
> * click on the mixer applet, move the slider to volume 0
> * the volume is muted and the icon changed to a mute one
> * right click, uncheck the mute box
> 
> the icon displayed is still a muted one, it should not

What should it be then?

We have audio-volume-muted, audio-volume-low, audio-volume-medium, and audio-volume-high. We'd need an audio-volume-none, or something...
Comment 5 Sebastien Bacher 2009-10-15 21:33:05 UTC
$ dpkg -L gnome-icon-theme | grep volume-0
/usr/share/icons/gnome/16x16/status/stock_volume-0.png
/usr/share/icons/gnome/22x22/status/stock_volume-0.png
/usr/share/icons/gnome/24x24/status/stock_volume-0.png
/usr/share/icons/gnome/32x32/status/stock_volume-0.png
/usr/share/icons/gnome/scalable/status/stock_volume-0.svg

this one could be used for example
Comment 6 Sebastien Bacher 2009-10-15 21:34:57 UTC
the icon seems to be equivalent to volume-low in the gnome theme, not sure if that's an icon theme issue though
Comment 7 Sebastien Bacher 2009-10-15 21:36:24 UTC
using volume low doesn't seem better than volume mute there, mac_v could you comment since you are the one who brought the issue?
Comment 8 Vish 2009-10-15 22:23:07 UTC
(In reply to comment #7)
> using volume low doesn't seem better than volume mute there, mac_v could you
> comment since you are the one who brought the issue?

The most ideal way to do the volume mute action is to use an icon overlay and "x" or "/" over the current volume level. [similar to how network manager uses a lock icon overlay for vpn]

We could do this overlay using the volume mute icon.

Making the mute icon to overlay will be more useful , as the users would know which volume level the unmuting would return them to , but that would be a separate bug.

Also , Matthew Paul Thomas' comment > https://bugs.launchpad.net/ubuntu/+source/humanity-icon-theme/+bug/444548/comments/12

But for this bug report ... the differentiation between volume mute and volume=0 , we could just use the status/stock_volume-0 icon , which is provided in the gnome icon theme also.
- Or the gnome-media developers could request a new icon name audio-volume-none from the gnome-icon-theme.
Comment 9 Bastien Nocera 2009-10-15 22:35:21 UTC
For all intents and purposes, for the applet, muted is the same thing as volume == 0.

It was designed that way, though the mute menu entry kind of defeats it.
Comment 10 Jud Craft 2009-11-29 16:07:18 UTC
I don't mean to hijack, but I would like to continue discussion on this bug, also with gnome-media 2.28.1.

The idea of muted at volume=zero disagrees with how I expect mute to work.  For example, if it was at volume=zero and truly muted, then turning the volume up should not unmute the volume.

Furthermore, gnome-volume-control will let me turn the volume down to zero (and mute is set), but then it lets me unmute it anyway, even though the volume is still zero.  So I don't see why the flag is set in the first place.

Setting the mute flag at volume=0 seems to be an arbitrary decision.  It doesn't make too much sense to me, especially since 1) changing the volume will just disregard the mute status, and 2) you can demute it yourself and still have zero volume.

What purpose does the mute flag on volume=0 serve?  I think it just makes mute slightly confusing.
Comment 11 Bastien Nocera 2010-02-02 18:10:47 UTC
Because mute isn't confusing?

The applet uses mute for volume=0. If you have problems about other parts of the UI, file your own bug.

And I'm all for using another icon for volume=0 and mute, but most icon themes don't include those, and I'm really not that interested in spending time working on those.
Comment 12 Vish 2010-02-02 19:12:35 UTC
(In reply to comment #11)
> Because mute isn't confusing?
> 
> The applet uses mute for volume=0. If you have problems about other parts of
> the UI, file your own bug.
> 
> And I'm all for using another icon for volume=0 and mute, but most icon themes
> don't include those, and I'm really not that interested in spending time
> working on those.

/usr/share/icons/gnome/..../status/stock_volume-0.png
/usr/share/icons/gnome/..../status/stock_volume-mute.png

These are icons in the _default_ gnome-icon-theme , if the respective icon theme doesnt have them it will fallback to the gnome-icon theme. There wont be any problems even if the icon is not in the concerned theme.

Also , Icon-themes are _supposed_ to have those symlinks or icons present in the theme .
If the icon theme doesnt have the icons , it would be a bug in the concerned icon theme and you wouldnt have to bother about this then. :D

The issue here is we have the provision to have icons  , but we aernt using them
Comment 13 Vish 2010-02-02 19:15:03 UTC
err>
The issue here is we have the icons  , but we aernt using them
Comment 14 Bastien Nocera 2010-09-08 12:28:31 UTC
There's no "volume-0" icon in gnome-icon-theme. And there's no volume icons in hicolor, which gnome-icon-theme depends on.

$ rpm -q gnome-icon-theme
gnome-icon-theme-2.30.3-2.fc14.noarch
$ rpm -ql gnome-icon-theme | grep volume
/usr/share/icons/gnome/16x16/apps/multimedia-volume-control.png
/usr/share/icons/gnome/16x16/status/audio-volume-high.png
/usr/share/icons/gnome/16x16/status/audio-volume-low.png
/usr/share/icons/gnome/16x16/status/audio-volume-medium.png
/usr/share/icons/gnome/16x16/status/audio-volume-muted.png
/usr/share/icons/gnome/22x22/apps/multimedia-volume-control.png
/usr/share/icons/gnome/22x22/status/audio-volume-high.png
/usr/share/icons/gnome/22x22/status/audio-volume-low.png
/usr/share/icons/gnome/22x22/status/audio-volume-medium.png
/usr/share/icons/gnome/22x22/status/audio-volume-muted.png
/usr/share/icons/gnome/24x24/apps/multimedia-volume-control.png
/usr/share/icons/gnome/24x24/status/audio-volume-high.png
/usr/share/icons/gnome/24x24/status/audio-volume-low.png
/usr/share/icons/gnome/24x24/status/audio-volume-medium.png
/usr/share/icons/gnome/24x24/status/audio-volume-muted.png
/usr/share/icons/gnome/256x256/status/audio-volume-high.png
/usr/share/icons/gnome/256x256/status/audio-volume-low.png
/usr/share/icons/gnome/256x256/status/audio-volume-medium.png
/usr/share/icons/gnome/256x256/status/audio-volume-muted.png
/usr/share/icons/gnome/32x32/apps/multimedia-volume-control.png
/usr/share/icons/gnome/32x32/status/audio-volume-high.png
/usr/share/icons/gnome/32x32/status/audio-volume-low.png
/usr/share/icons/gnome/32x32/status/audio-volume-medium.png
/usr/share/icons/gnome/32x32/status/audio-volume-muted.png
/usr/share/icons/gnome/48x48/apps/multimedia-volume-control.png
/usr/share/icons/gnome/48x48/status/audio-volume-high.png
/usr/share/icons/gnome/48x48/status/audio-volume-low.png
/usr/share/icons/gnome/48x48/status/audio-volume-medium.png
/usr/share/icons/gnome/48x48/status/audio-volume-muted.png
Comment 15 Vish 2010-09-11 18:18:14 UTC
(In reply to comment #14)
> There's no "volume-0" icon in gnome-icon-theme. And there's no volume icons in
> hicolor, which gnome-icon-theme depends on.
> 

Haha! We were slow and the icons were cleaned up, the stock icons were removed for gnome-icon-theme 2.30  :)

We could add an audio-volume-zero with no bars to g-i-t.

Subscribing jimmac for his opinion.
Comment 16 Vish 2010-09-12 14:22:56 UTC
In Ubuntu, the sound indicator in the panel uses audio-volume-zero for volume zero.. 
For reference of the icons used: https://wiki.ubuntu.com/SoundMenu
Comment 17 Tobias Mueller 2010-10-28 13:23:58 UTC
Assuming this to be NOTABUG then. Please reopen if this is not the case.
Comment 18 Jakub Steiner 2010-10-28 18:22:01 UTC
In my view, introducing a distinction between volume zero and muted is creating absolutely unnecessary complexity. I really see no point.