Bug 509749

Summary: On certain audio setups, "No input or output devices found" placeholder appears briefly after connecting/disconnecting audio device
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Audio Volume widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: isma.af, kdedev, nate
Priority: NOR    
Version First Reported In: 6.4.80   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2025-09-21 12:19:47 UTC
Created attachment 185134 [details]
screen recording

STEPS TO REPRODUCE
1. click on sound icon in the system tray
2. while the popup is open, connect or disconnect headphones
3. 

OBSERVED RESULT
"No input or output devices found" placeholder appears briefly almost always after connecting/disconnecting headphones. Please watch the attached screen recording.

EXPECTED RESULT
the observed result should not occur

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-09-23 17:01:09 UTC
Are they USB headphones?
Comment 2 Patrick Silva 2025-09-23 17:11:08 UTC
No, the headphones have p2 connector.
Comment 3 Nate Graham 2025-09-23 17:33:41 UTC
Hmm, that's odd, then. The audio device on my laptop doesn't do this, but I can believe that different setups will exhibit different issues.

Probably what happens is that a whole refresh of the audio subsystem gets triggered when you plug or unplug an audio device into that port, and it has the effect of making all the devices disappear for a moment. I can believe this is what's happening.

Ideally we'll get an indication of the actual state so we can show an appropriate message. If not, I guess we could debounce the placeholder message with a timer or something.