Active port change for headphone unreliable if pavucontrol is running
Version, Distribution, Desktop Environment:
0.3.23 (from Debian package 0.3.23-1) and master
3e2d897f on Debian with sway.
Description of Problem:
If pavucontrol
is open, connecting or disconnecting headphones sometimes changes the active port. When pavucontrol is not running, the port always changes.
How Reproducible:
When pavucontrol is running, the active port is correctly changed ~50% of the time on connect/disconnect events.
Steps to Reproduce:
- Start
pavucontrol
. Optionally, switch to "Output Devices" tab to observe active port. - Connect headphones. Port changes from "Speakers" to "Headphones (plugged in)" (good) or "Speakers (unavailable)" (bug) ~50% of the time.
- Switch port to "Headphones (plugged in)" if not selected automatically.
- Disconnect headphones. Port changes from "Headphones (plugged in)" to "Speakers" (good) or "Headphones (unplugged)" (bug) ~50% of the time.