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

            Bug ID: 392117
           Summary: Checking "Automatically switch all running streams
                    when a new output becomes available" unconditionally
                    loads switch-on-connect module without looking to see
                    if it's already loaded
           Product: plasma-pa
           Version: 5.12.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: n...@kde.org
                CC: plasma-b...@kde.org
  Target Milestone: ---

The PulseAudio switch-on-connect module can only be loaded once in PulseAudio
<= 11, or else PulseAudio will crash
(https://bugs.freedesktop.org/show_bug.cgi?id=95104). This PulseAudio bug was
recently fixed in the upcoming PulseAudio 12 release
(https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=f0dfddead3cf1ff7af4c9c09a8027fde26065003),
but that's still unreleased and a long way off for many of our users.

Plasma-pa has a checkbox for "Automatically switch all running streams when a
new output becomes available" that loads the module when checked. But it does
so unconditionally, without first checking to see if the module is already
loaded. If the module is already loaded, checking this checkbox will crash
PulseAudio 11 and earlier.

This caused a downstream bug in Kubuntu for many users after the Ubuntu devs
tried loading the switch-on-connect module by default to improve usability:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1720519

Likely for this reason, plasma-pa has the checkbox unchecked by default, to
avoid crashing PulseAudio in any distros that enable the module by default.

However, this means that by default, users don't get the generally desirable
switch-on-connect behavior unless their distro loads the module by default--and
even then, the users need to avoid touching the checkbox in plasma-pa or else
they'll break PulseAudio on their systems.

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

Reply via email to