[Bug] OSD shows 0% with mute icon when volume is modified during mute
Issue/Description:
When the speaker is muted and the volume is adjusted, the OSD does not reflect the actual volume change. Instead, it continues to display 0% with the mute icon, even though the volume value has been modified.
Version:
cosmic-applets:
Installed: 0.1.0~1757249937~24.04~93735b1
Steps to Reproduce:
- Mute the speaker using the cosmic-audio applet.
- Increase or decrease the volume.
- Observe the OSD behavior.
Expected Behavior: The progress-bar in OSD should be updated when volume is modified to show the correct volume, despite mute status.
@maria-komarova when volume is muted in the sound applet, should moving the volume slider unmute the audio? Changing volume in any other way does so I suppose it should here as well. I think that's better because the user may not realize it's muted.
I agree, moving a slider should unmute the audio. The icon represents mute state and has a strike through when muted. But I think moving a slider at this point is the evidence of intent to change the volume.
I’ve seen some media players unmute the audio only when the volume is increased. Otherwise, it remains muted when decreasing the volume.
After recent updates, when the volume is adjusted using keyboard shortcuts or a dial, the audio unmutes as you intended. However, when changing the volume with the mouse using the slider, the volume changes but the audio remains muted, and the OSD still shows 0% with the mute icon.
It has 2 different behaviors on how the volume is being updated.