Bug 445445

Summary: Truncated Audio Port list cannot be used to distinguish outputs with extremely long device names
Product: [Applications] systemsettings Reporter: Carl-Erwin Griffith <carl.erwin>
Component: kcm_pulseaudioAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: normal CC: isma.af, nate, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: 5.23.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of system settings audio section

Description Carl-Erwin Griffith 2021-11-13 21:48:21 UTC
Created attachment 143521 [details]
screenshot of system settings audio section

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Run an application playing some audio (firefox + youtube for example)
2.  Run kde system settings au go to Audio section
3.  Select a different audio port for the firefox application


OBSERVED RESULT
The audio port list shows truncated entries:
"Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / Displ..."
"Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / Displ..."
"Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / Displ..."
"Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + H..."



EXPECTED RESULT
The menu should use all the space available to allow long strings:

"Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output"
"Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output"
"Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output"
"Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones"



SOFTWARE/OS VERSIONS
Linux:  openSUSE Tumbleweed (Release: 20211111)
KDE Plasma Version: 5.23.2 
KDE Frameworks Version:  5.87.0
Qt Version:  5.15.2

ADDITIONAL INFORMATION

Audio system  based on  Intel Corporation Tiger Lake-LP Smart Sound Technology Audio
Comment 1 Nate Graham 2021-11-23 18:44:14 UTC
Wow, that's a long device name.
Comment 2 Carl-Erwin Griffith 2021-11-24 18:20:39 UTC
Note that the device list in the "Audio Volume"  panel (in System Tray)  has the same issue. 
:-)