Bug 473291

Summary: Plasma show duplicated devices in Audio or KMix after hibernating or changing audio profile.
Product: [Plasma] plasma-pa Reporter: Gustavo Brondani Schenkel <gustavo.schenkel>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: isma.af, me, nowrep
Priority: NOR    
Version: 5.27.7   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Kmix with duplicated devices
Audio in System Settings

Description Gustavo Brondani Schenkel 2023-08-11 19:11:07 UTC
SUMMARY
Plasma is showing duplicated devices each time they get reconnected, in my specific case, when my monitor hibernate, the hdmi audio device is unplugged and, when it return, a new audio device is been showed.

STEPS TO REPRODUCE
1. Open SystemSettings
2. Go to Audio
3. Go to HDMI / DisplayPort Device
4. Change the Profile to Off.
5. Change it back to Original or any other.
6. A new device shows up in Audio and on KMix.

OBSERVED RESULT
Devices been duplicated.

EXPECTED RESULT
Only show audio devices which are plugged in.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Slackware 15.0 -current
KDE Plasma Version: 5.27.7
KDE Frameworks Version:  5.108.0
Qt Version: 5.15.10
Comment 1 Gustavo Brondani Schenkel 2023-08-11 19:12:26 UTC
Created attachment 160910 [details]
Kmix with duplicated devices
Comment 2 Gustavo Brondani Schenkel 2023-08-11 19:14:05 UTC
Created attachment 160911 [details]
Audio in System Settings
Comment 3 Ismael Asensio 2023-08-11 19:22:33 UTC

*** This bug has been marked as a duplicate of bug 473093 ***