Bug 434727

Summary: Line chart labels don't handle lack of horizontal space
Product: [Applications] plasma-systemmonitor Reporter: Jacob Kauffmann <jacob>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, nate, plasma-bugs
Priority: NOR    
Version: 5.21.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: KSysGuard wide layout
KSysGuard narrow layout
System Monitor wide layout
System Monitor narrow layout

Description Jacob Kauffmann 2021-03-21 18:06:26 UTC
SUMMARY

This seems potentially related to #429156, but not necessarily a duplicate. That report is regarding labels not showing when there's enough space; this report is regarding the behavior when there's not enough space.

In KSysGuard, I often have the CPU History graph open, and all sixteen core percentages are visible. (See "KSysGuard wide layout" attachment.)

When collapsing the window horizontally, when there's no longer room for the color indicators, the numbers themselves become colored instead. (See "KSysGuard narrow layout" attachment.)

In the new System Monitor app, starting at a similar width results in some of the labels not showing. To me, this looks like too much horizontal padding being required between color indicators and labels. It might also be related to the labels trying to show "CPU # Core # Total Usage" before each percentage, when that information is fairly apparent and doesn't need to be stated sixteen times-- I don't see a way to rename or re-label sensors to work around this. (See "System Monitor wide layout" attachment.)

Attempting to collapse the window horizontally sometimes results in overlapping text, but usually ends up hiding more of the labels instead. (See "System Monitor narrow layout" attachment.)

If the intent is to replace KSysGuard, it would be worthwhile to try improving the label behavior for cases like this to express the same amount of information at the same sizes. Having an option for the line chart to just show the number/percentage without the sensor name might be a quick way to accomplish this.


STEPS TO REPRODUCE
1. Open History page on system with large number of CPU cores.
2. Resize window horizontally.

OBSERVED RESULT
The same amount of information conveyed by KSysGuard should be conveyed in System Monitor at similar window sizes.

EXPECTED RESULT
System Monitor conveys less information than KSysGuard at similar window sizes, and has visually missing labels.

SOFTWARE/OS VERSIONS
Linux: 5.10.24-1-lts
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
N/A
Comment 1 Jacob Kauffmann 2021-03-21 18:06:49 UTC
Created attachment 136927 [details]
KSysGuard wide layout
Comment 2 Jacob Kauffmann 2021-03-21 18:07:02 UTC
Created attachment 136928 [details]
KSysGuard narrow layout
Comment 3 Jacob Kauffmann 2021-03-21 18:07:14 UTC
Created attachment 136929 [details]
System Monitor wide layout
Comment 4 Jacob Kauffmann 2021-03-21 18:07:25 UTC
Created attachment 136930 [details]
System Monitor narrow layout
Comment 5 Nate Graham 2021-03-22 03:35:11 UTC

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