Bug 488630

Summary: Multiple audio devices can both end up with a checked radio button, which doesn't make sense
Product: [Unmaintained] plasma-pa Reporter: Gabriel Fonseca <gabriel.f.alexandre>
Component: appletAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: isma.af, kdedev, nate, sitter
Priority: NOR    
Version First Reported In: 6.0.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=460800
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the audio applet marking 2 devices

Description Gabriel Fonseca 2024-06-17 18:26:26 UTC
Created attachment 170574 [details]
the audio applet marking 2 devices

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Open audio volume applet on tray or system settings
2. Have two audio devices
3. Try to switch between them

OBSERVED RESULT
Switch normally between them

EXPECTED RESULT
On the tray it marks both and doesn't switch.
On settings it actually switch but don't give a visual feedback while on settings, you have to change to other settings and come back to see it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 KDE
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
It happens randomly and comeback to normal when I restart the computer.
This is my first time reporting a bug so I'm sorry if am doing something wrong, I couldn't find nothing about this bug.
Comment 1 TraceyC 2024-06-18 22:05:17 UTC
Another user reported the same problem in https://bugs.kde.org/show_bug.cgi?id=460800 . There are other symptoms, which may or may not be related to the UI problem. That bug is " Audio continues via original channel when bluetooth connected to an external device (and notification shows audio switched to BT channel)"

https://bugsfiles.kde.org/attachment.cgi?id=164948

Their system

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-33-generic (64-bit)
Graphics Platform: X11
Comment 2 Harald Sitter 2024-09-23 11:50:23 UTC
Looks to me like a bug in pipewire. What happens is that we think the new thing is default but the old thing never gets marked as not-default so we end up with multiple selected radio buttons.
Comment 3 Harald Sitter 2024-09-23 12:09:16 UTC
I think I can reproduce the problem. It also happens with pactl set-default-source and get-default-source so clearly an upstream issue. 

But... it disappears once I build pipewire from git. So I guess it is already fixed there :)