Bug 451996

Summary: Inconsistent legend
Product: [Applications] plasma-systemmonitor Reporter: Heinrich Schuchardt <xypron.glpk>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: ahiemstra, plasma-bugs-null, popov895
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description Heinrich Schuchardt 2022-03-28 14:13:09 UTC
Created attachment 147790 [details]
Screenshot

SUMMARY

The legend for the individual CPU usages shows the core number only for cores 1-9 but not for cores 10-32

STEPS TO REPRODUCE

Place widget on desktop

OBSERVED RESULT

See attachment and summary
EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.17, Kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.3 
KDE Frameworks Version: 5.92.0
Qt Version:  5.15.2

ADDITIONAL INFORMATION
Comment 1 popov895 2024-05-25 09:15:47 UTC
This is because the full description for cores 10-32 doesn't fit in the legend, so a short description is used. Try making the widget wider.
Comment 2 Arjen Hiemstra 2024-05-28 08:12:41 UTC
Yeah, the strings here are just slightly too long for the width. Rather than eliding, when that happens we prefer using a shorter name for the sensor. There isn't really a perfect solution here, as we also need to account for things like translated names.