Bug 444802

Summary: Plasma PA doesn't disconnect to a virtual audio device created by Pipewire
Product: [Unmaintained] plasma-pa Reporter: christianarcadio311
Component: appletAssignee: David Rosca <nowrep>
Status: RESOLVED WORKSFORME    
Severity: normal CC: isma.af, nate, nicolas.fella, plasma-bugs-null, sitter
Priority: NOR    
Version First Reported In: 5.23.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Carla patchbay screenshots, from fresh reboot to multiple applet open

Description christianarcadio311 2021-11-02 01:25:23 UTC
Created attachment 143116 [details]
Carla patchbay screenshots, from fresh reboot to multiple applet open

SUMMARY
On my machine, I have Pipewire installed as a JACK (and PulseAudio?) replacement. After creating a coupled stream virtual device according to https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices#coupled-streams, plasma-pa doesn't disconnect to the virtual device after the applet closes, even though it disconnects from the "built-in" audio devices (observed in Carla patchbay). Also, probably because of that issue, plasma-pa creates new connection ports each time the applet opens, with each new ports connected to the virtual device not disconnecting and further bloating the patchbay.

STEPS TO REPRODUCE
1. Install Pipewire and Carla.
2. Create a virtual device, following https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices#coupled-streams.
3. Open Carla and go to the patchbay.
4. Open the plasma-pa applet several times.

OBSERVED RESULT
The Plasma PA 'device' in the Carla patchbay persists, with each call to the applet creating more ports for the virtual device which doesn't close.

EXPECTED RESULT
The Plasma PA 'device' in the Carla patchbay should properly disappear each time the applet closes.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I have `pipewire-jack-dropin` installed. But it probably shouldn't matter.
Pipewire version: Compiled with libpipewire 0.3.39; Linked with libpipewire 0.3.39
Using Carla version 2.4.1
Python version: 3.9.7
Qt version:     5.15.2
PyQt version:   5.15.6x
Comment 1 christianarcadio311 2021-11-02 01:27:54 UTC
SOFTWARE/OS VERSIONS
Windows: NA
macOS: NA
Linux/KDE Plasma: Garuda Linux KDE Gaming
(available in About System)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Comment 2 Harald Sitter 2024-09-25 11:19:21 UTC
Is this still a problem?
Comment 3 Bug Janitor Service 2024-10-10 03:47:36 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-10-25 03:47:08 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.