Volume gets maximized on external display connected via HDMI after screen lock and unlock, on laptop.
Affected version
- OS: Fedora 34
- Version: Gnome 40
- Display server: Xorg
- Audio server: Pipewire-pulse
Hardware info: https://linux-hardware.org/?probe=cb55fa7fcd
Bug summary
When audio is playing on an external monitor connected via HDMI, and screen is locked using Super+esc, the audio stops playing, and when screen is unlocked, the audio is maximized. The volume slider itself isn't changed, but the volume is maximized. This can be a health hazard, and can cause deafening. This personally happened to me, the volume got maximized, and I had headphones connected to the monitor, but thankfully, the max volume isn't that much on mine.
Steps to reproduce
- Connect an external monitor to a laptop via HDMI.
- Connect headphones to monitor, if the provision is there, to observe the situation more consistently.
- Lower the volume to a good degree.
- Play any audio
- Lock the screen using super+esc
- Observe that audio stops
- Unlock screen
- Observe that volume is playing at max.
What happened
Volume plays at max when screen is unlocked, after following the given steps.
What did you expect to happen
Volume level should not change on screen unlock, in the given situation.
Other notes:
As mentioned, I'm using pipewire-pulse. I apologize if this isn't the correct forum to post this bug, but I'm not sure if this is even a pipewire/pulse problem, or a gnome-shell problem. Regardless, this happens on screen lock/unlock, so the trigger is definitely within the gnome-shell.