https://bugs.kde.org/show_bug.cgi?id=366149

            Bug ID: 366149
           Summary: Cannot handle pulseaudio card profile change
           Product: plasma-pa
           Version: 5.7.1
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: rocketra...@gmail.com
                CC: plasma-b...@kde.org

This is a regression in Plasma 5.7.1 relative to Plasma 5.6.5.

I have an Intel-HDA card with PulseAudio 7.1.1 on Fedora 23. My card is hooked
up to both my external speakers as well as a headset. I can switch the audio
from headset to speakers by using the commands:

```
pactl set-card-profile alsa_card.pci-0000_00_1b.0
output:analog-surround-40+input:analog-stereo
pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-surround-40
analog-output-lineout
amixer -c $CARD sset "Auto-Mute Mode" Disabled
amixer -c $CARD sset 'Headphone',1 100 mute
```

and vice-versa:

```
pactl set-card-profile alsa_card.pci-0000_00_1b.0
output:analog-stereo+input:analog-stereo
pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo
analog-output-headphones
amixer -c $CARD sset "Auto-Mute Mode" Enabled
amixer -c $CARD sset 'Headphone',1 100 unmute
```

As of Plasma 5.7.1, the above commands still work, but KDE seems to lose its
connection to PulseAudio when they are run. In `.xsession-errors`, immediately
upon the switch I see:

org.kde.plasma.pulseaudio: No object for name
"alsa_output.pci-0000_00_1b.0.analog-surround-40"

After that point, I cannot, use the volume up/down/mute keys successfully.
Though moving the sliders in the pulse-pa applet does still work.

A restart of plasma restores the connection to pulseaudio and restores the
up/down/mute key functionality.

Reproducible: Always

Steps to Reproduce:
1. Change pulseaudio card profile and sink port
2. Attempt to use volume up/down/mute buttons

Actual Results:  
Volume buttons no longer work

Expected Results:  
Volume buttons should still work

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to