Bug 488630 - Multiple audio devices can both end up with a checked radio button, which doesn't make sense
Summary: Multiple audio devices can both end up with a checked radio button, which doe...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: 6.0.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-17 18:26 UTC by Gabriel Fonseca
Modified: 2024-09-23 13:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
the audio applet marking 2 devices (93.89 KB, image/png)
2024-06-17 18:26 UTC, Gabriel Fonseca
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :)