"dpms off" switches audio to speakers
If you are filing this issue with a regular release please try master as it might already be fixed.
Version: 0.3.26 Distribution: Arch Linux Desktop Env: i3 and sway with pipewire-pulse
Description of Problem: Since around 0.3.24 when i3lock or swaylock locks the screen after the idle timeout (they execute "dpms off" at this point) the audio switches from my headphone output (this is a laptop with external speakers connected via the headphone jack) to the laptop speakers.
I've tried uninstalling pipewire pipewire-pulse and pipewire-media-session, removing all config and reinstalling them but the problem persists.
How Reproducible: Every time i3lock or swaylock idle timeout is reached and the screen is turned off automatically (dpms off)
Steps to Reproduce:
- Use pavucontrol to set audio output to headphones
- Let idle timeout occur for swaylock or i3lock
- Audio switches to speaker output
Actual Results: Audio switches from headphone to speakers
Expected Results: Audio should remain on headphones
Additional Info Eg. [pw.out](/uploads/122f0d32d58167f0e5b66518f53521c7/pw.out)
(As Attachment Please):