Bug 428318 - ksysguard text alignment in the labels and content of the columns are not uniform.
Summary: ksysguard text alignment in the labels and content of the columns are not uni...
Status: CONFIRMED
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: 5.20.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-27 02:19 UTC by Henrique Sant'Anna
Modified: 2020-10-27 21:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
hsantanna: Usability+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Sant'Anna 2020-10-27 02:19:31 UTC
SUMMARY

The text alignment in the labels of the columns, in the tab Processes Table, are not uniform.


STEPS TO REPRODUCE
1. Open ksysguard
2. Observe the text alignment from labels of the columns and text alignment inside columns.


OBSERVED RESULT

some labels have left-aligned text:
    - Name
    - Window title
    - Download *
    - Upload *
    - GPU usage
    - GPU memory

a label is centered:
    - User
    - CPU %

other labels have right-aligned text:
    - Priority
    - Total Memory
    - Shared memory

* The visual effect of this is even worse in the cases of Download and Upload columns because, although the labels of these columns are aligned to the left, the content of these columns is numeric and is aligned to the right. Therefore, the labels for the Download and Upload columns are out of alignment with their respective contents.

This creates an unpleasant feeling when we focus on the values displayed in these columns. It happens that, if the Download and Upload columns are arranged in this sequence, the value within the Download column is closer to the alignment of the label of the next column, Upload, than the label of its own column, Download. The same can be said about the value inside the Upload column in relation to the label of the next column, if the label of the next column is also aligned to the left (in my case it is, (GPU usage)).


EXPECTED RESULT

A uniform pattern of text alignment for column labels and their contents.

I would suggest the following pattern:

    - Texts: left aligned
    - % rates: centralized
    - numbers: right aligned

But I'm not sure about what is the correct solution to this. Maybe UI people can say something about this.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Comment 1 Justin Zobel 2020-10-27 04:18:02 UTC
Confirmed, the consistency could be better in the headings.
Comment 2 Patrick Silva 2020-10-27 17:52:25 UTC
supposedly this issue was fixed in Plasma 5.20, see bug 394467
Comment 3 Justin Zobel 2020-10-27 21:47:20 UTC
(In reply to Patrick Silva from comment #2)
> supposedly this issue was fixed in Plasma 5.20, see bug 394467

I think there's still further consistency to be had as mentioned by Henrique.

- GPU Usage and Memory for instance the labels are left aligned but the numbers are right aligned.

- Download/Upload are left aligned labels with right aligned numbers, if you make those columns bigger it doesn't look neat.