Active port change for headphone unreliable if pavucontrol is running
Version, Distribution, Desktop Environment:
Description of Problem:
pavucontrol is open, connecting or disconnecting headphones sometimes changes the active port. When pavucontrol is not running, the port always changes.
When pavucontrol is running, the active port is correctly changed ~50% of the time on connect/disconnect events.
Steps to Reproduce:
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.