Bug 434189 - Memory Usage monitor rendering issues in panel
Summary: Memory Usage monitor rendering issues in panel
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor (show other bugs)
Version: 5.19.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-03-09 15:30 UTC by Lastique
Modified: 2021-05-06 13:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22


Attachments
Memory Usage widget in Text Only mode on a panel (3.57 KB, image/png)
2021-03-09 15:30 UTC, Lastique
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lastique 2021-03-09 15:30:28 UTC
Created attachment 136527 [details]
Memory Usage widget in Text Only mode on a panel

This bug originates in https://bugs.kde.org/show_bug.cgi?id=350672.

The Memory Usage widget has various problems with rendering when placed on a horizontal panel.

- If you select Text Only mode and press Apply, nothing is displayed. This does not change if I drop sensors to the Text Only Sensors in the Sensor Details tab.
- Often, after changing display style and navigating settings tabs, Plasma crashes. (https://bugs.kde.org/show_bug.cgi?id=429585)
- If Plasma crashed and restarted while in Text Only style, some text appears. The text is abbreviated to "3.8 ..." (screenshot attached) in my case while there is 2.58 GiB of 16 Gib RAM allocated and 8MiB swap allocated (according to other widgets and System Monitor app). So I don't understand what number the widget shows.
- In Bar Chart mode, also nothing is displayed. But after a Plasma crash I've seen one bar displayed once.

Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-44-lowlatency
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-2600K CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce RTX 2080 Ti/PCIe/SSE2
Comment 1 Bug Janitor Service 2021-04-29 10:38:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/153
Comment 2 Bug Janitor Service 2021-04-29 14:31:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/156
Comment 3 Arjen Hiemstra 2021-05-06 13:01:40 UTC
Git commit 5fc25557316b05a1f0f0786b9221067553d99488 by Arjen Hiemstra.
Committed on 06/05/2021 at 13:01.
Pushed by ahiemstra into branch 'master'.

Base text-only face's minimum size on the preferred size of legend

Otherwise we only show two sets of "..." due to eliding both the label
and value of the sensors.
FIXED-IN: 5.22

M  +11   -14   faces/facepackages/textonly/contents/ui/CompactRepresentation.qml
M  +13   -0    faces/facepackages/textonly/contents/ui/GroupedText.qml

https://invent.kde.org/plasma/libksysguard/commit/5fc25557316b05a1f0f0786b9221067553d99488