ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

[Audio] - Hardware volume keys are occasionally unable to mute an output device. #11464

Open ZereoX opened 1 week ago

ZereoX commented 1 week ago

Your system information

Please describe your issue in as much detail as possible:

Hardware volume keys, such as the - and + on the Steam Deck or the ones on an external Bluetooth keyboard, can occasionally be unable to mute an output devices. Volume keys have less granularity when compared to volume sliders (0.05 Vs. 0.01 steps of control). This can cause the volume to remain stuck between 0.01 and 0.04 if the volume was adjusted via a slider (i.e. not a multiple of 0.05) and then lowered via a hardware key.

Video

https://github.com/user-attachments/assets/ba9386b7-e70b-463c-bcb1-9189b6b53af2

Steps for reproducing this issue:

  1. Turn the Steam Deck Speaker volume all the way down.
  2. Under Steam > Settings > Audio or Quick-Access Menu > Quick Settings > Audio, use right on the d-pad to increase the Output Device volume by one step.
  3. Attempt to turn the volume back down using the - key.

Reproduction Rate: 5/5.

Affected Platforms

Note: In Big Picture Mode hardware keys are always able to fully mute a device.

Actual result

Expected result

Notes