Bug 424442 - Allow legend to fill horizontal space in system monitor sensor widget
Summary: Allow legend to fill horizontal space in system monitor sensor widget
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor (show other bugs)
Version: 5.19.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-19 22:19 UTC by sk.griffinix
Modified: 2021-07-22 10:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: Plasma 5.22


Attachments
widget showing cpu usage of 8 cores (101.63 KB, image/webp)
2020-07-19 22:19 UTC, sk.griffinix
Details
Hidden text on a narrow memory usage widget (59.73 KB, image/png)
2020-08-30 06:31 UTC, Andrei Rybak
Details
Hidden text on a wide memory usage widget (137.72 KB, image/png)
2020-08-30 06:32 UTC, Andrei Rybak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sk.griffinix 2020-07-19 22:19:17 UTC
Created attachment 130263 [details]
widget showing cpu usage of 8 cores

SUMMARY
When multiple sensors are added to the widget, the sensors are listed in legend vertically, even when horizontal space is available

STEPS TO REPRODUCE
1. Add system monitor sensor widget to desktop
2. With 'show sensors legend' enabled, add multiple sensors. For eg. all cpu cores' usage
3. expand the widget to appropriate size so all elements are visible

OBSERVED RESULT
The widget takes lot of vertical space to list every sensor since they are only listed vertically

EXPECTED RESULT
Horizontal space should be appropriately utilised.


ADDITIONAL INFORMATION
This may not seem like a problem when a couple of sensors are added. But even with 8 core systems, the wasted space is clearly apparent. For higher end ryzen systems with 32 or 64 threads, it would either not fit in or take entire screen space
Comment 1 Andrei Rybak 2020-08-30 06:31:25 UTC
Created attachment 131278 [details]
Hidden text on a narrow memory usage widget
Comment 2 Andrei Rybak 2020-08-30 06:32:10 UTC
Created attachment 131279 [details]
Hidden text on a wide memory usage widget
Comment 3 Arjen Hiemstra 2021-07-22 10:29:29 UTC
We redid the legend for Plasma 5.22. It now uses a dynamic multi column layout, which should fix this issue.