Bug 489886

Summary: Text-Only System Monitor Panel Widget Has Incorrect Text Alignment
Product: [Plasma] plasmashell Reporter: Matthew Lavine <matt>
Component: System MonitorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, nate, notmart
Priority: NOR    
Version: 6.1.1   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: issue

Description Matthew Lavine 2024-07-07 16:50:25 UTC
Created attachment 171463 [details]
issue

SUMMARY

Multi-sensor text-only system monitor widgets don't align the text for all sensors consistently.

Example showing that the usage percentage is right-aligned but the temperature value appears to be center-aligned instead of right-aligned: https://imgur.com/a/75XZCId


STEPS TO REPRODUCE
1. Add a text-only system monitor widget to a panel
2. Add two sensors to the panel (ie Total CPU Usage  + Avg CPU Temperature)

OBSERVED RESULT

Both rows do not have consistent text formatting.

Example showing that the usage percentage is right-aligned but the temperature value appears to be center-aligned instead of right-aligned: https://imgur.com/a/75XZCId


EXPECTED RESULT

Both rows should have consistent text formatting:
1) The sensor names should be left-aligned
2) The sensor values should be right-aligned

You can see the correct formatting in the popup above the panel here, but not on the panel itself: https://imgur.com/a/75XZCId


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 40
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Comment 1 Matthew Lavine 2024-07-07 16:52:26 UTC
I also reproduced this in a fresh KDE Neon VM with plasma 6.1.2.
Comment 2 Nate Graham 2024-07-27 22:00:21 UTC

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