Bug 434727 - Line chart labels don't handle lack of horizontal space
Summary: Line chart labels don't handle lack of horizontal space
Status: RESOLVED DUPLICATE of bug 432703
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.21.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-21 18:06 UTC by Jacob Kauffmann
Modified: 2021-03-22 03:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KSysGuard wide layout (31.07 KB, image/png)
2021-03-21 18:06 UTC, Jacob Kauffmann
Details
KSysGuard narrow layout (44.32 KB, image/png)
2021-03-21 18:07 UTC, Jacob Kauffmann
Details
System Monitor wide layout (61.88 KB, image/png)
2021-03-21 18:07 UTC, Jacob Kauffmann
Details
System Monitor narrow layout (57.28 KB, image/png)
2021-03-21 18:07 UTC, Jacob Kauffmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***