Bug 424379

Summary: Per core system monitor text legend core usage alignment and core ID sorting broken.
Product: [Plasma] plasmashell Reporter: Gilboa Davara <gilboad>
Component: System Monitor widgetsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.19.3   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Individual core CPU usage monitor.

Description Gilboa Davara 2020-07-18 18:22:27 UTC
Created attachment 130226 [details]
Individual core CPU usage monitor.

SUMMARY
Running latest plasma (5.19.3) on Fedora 32 OS running on a dual Xeon (2 x 10 cores w/ HT) workstation.

STEPS TO REPRODUCE
1. Add individual core system monitor widget.
2. Switch to line mode.

OBSERVED RESULT
See attached screen shot.
1. Default CPU core order is more-or-less random.
2. Spacing between the CPU label and the core ID is not identical.
3. Spacing between the CPU ID and the core usage is random.

EXPECTED RESULT
1. Default CPU cores sort order should be numerical and not alpha-numerical (core 30 should follow core core 29. and not core 3).
2. Core ID should be placed closer to the "CPU" label.
3. CPU usage value should be spaced further from the CPU_$ID, preferably with some thin line connecting the two.
E.g.
<Color> CPU01 ............ 35%
<Color> CPU02 ............ 09%
...
<Color> CPU29 ............ 35%
<Color> CPU30 ............ 30%
<Color> CPU31 ............ 10%

SOFTWARE/OS VERSIONS
Operating System: Fedora 32
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2
Kernel Version: 5.7.8-200.fc32.x86_64
OS Type: 64-bit
Processors: 40 × Intel® Xeon® CPU E5-2658 v2 @ 2.40GHz
Memory: 31.3 GiB of RAM
Graphics Processor: GeForce GTX 1080/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-09-19 20:21:38 UTC
Hello and thank you again for the bug report! Unfortunately we were not able to address it yet, nor even manage to reproduce the issue ourselves. Can we ask you to please check if this issue is still happening with Plasma 5.27?

If it is, please change the status to REPORTED. Thanks a lot!
Comment 2 Gilboa Davara 2023-09-21 18:05:03 UTC
Bug can be closed. Sorting and alignment issues are fixed.
Thanks.
Comment 3 Nate Graham 2023-09-21 18:21:09 UTC
Thanks for following up!