Bug 488816

Summary: On a horizontal panel, "Text Only" system monitor sensor widgets have dramatically reduced text size compared to 6.0, and are top-aligned
Product: [Plasma] plasmashell Reporter: Naxdy <xnaxdy>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: 447f, adam, ahiemstra, cwo.kde, djneba, isma.af, matt, molloywillmolloy, MrRessiPiyent125, nate, niccolo.venerandi, notmart, spamless.9v5xj, yannssoloa
Priority: NOR Keywords: regression
Version: 6.1.5   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: Bug showcase
ss
sss
Messed up system monitor widget

Description Naxdy 2024-06-20 19:11:22 UTC
Created attachment 170699 [details]
Bug showcase

SUMMARY
When using a top panel "Text Only" system monitor sensor widgets have dramatically reduced size compared to 6.0, and are offset to the top

STEPS TO REPRODUCE
1. Create a top panel
2. Add a system monitor widget configured as "text only" to the panel

OBSERVED RESULT
The widget is very small and offset to the top

EXPECTED RESULT
The widget is sized to the panel appropriately and located in the vertical center of the panel

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS
(available in About System)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Sensor widget was fine in 6.0. Additionally, the text for the "used memory" sensor is much smaller now compared to 6.0.
Comment 1 cwo 2024-06-22 05:56:09 UTC
*** Bug 488951 has been marked as a duplicate of this bug. ***
Comment 2 djneba 2024-06-22 14:42:39 UTC
*** Bug 488983 has been marked as a duplicate of this bug. ***
Comment 3 djneba 2024-06-22 14:43:21 UTC
Created attachment 170822 [details]
ss
Comment 4 djneba 2024-06-22 14:43:35 UTC
Created attachment 170823 [details]
sss
Comment 5 Adam Batkin 2024-06-23 16:05:34 UTC
Maybe it's separate issues (and feel free to direct me there) but I think that widget rendering in panels is generally broken in 6.1, in that the size of the widgets don't match what they should be (or at least what they were in <= 6.0) making them mostly unusable now.

For example, "Individual Core Usage" in bar graph mode (which is really just a bunch of sensors preconfigured one for each core) renders with the same width whether you ask it to show 1 core or 12, meaning with 1 core you get a nice graph, and with 12 cores you basically get nothing (since it's trying to squish them into a 20 pixel wide square). Weather widget doesn't display temperatures, just a bunch of cloud/sun.
Comment 6 djneba 2024-06-23 16:46:09 UTC
Interesting, I don't have issues with other widgets I use. The default kde weather widget works normally on my end. Weird.
Comment 7 Adam Batkin 2024-06-23 17:05:27 UTC
My apologies, I take back what I said about the CPU widget - I'm on Fedora and I may have had a mix of inconsistent versions of components from when I first upgraded. I updated again and CPU graphs now expand properly. Weather widget doesn't show temperature, so I'm thinking maybe that's unrelated (as opposed to a bigger widget rendering issue).

When I use text only sensors look close to the "Bug showcase" screenshot (i.e. text is high up and not in the middle) but not cut off like ss and sss.
Comment 8 Nate Graham 2024-06-25 23:33:40 UTC
I can confirm the issue.
Comment 9 Bug Janitor Service 2024-07-03 14:36:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/362
Comment 10 Arjen Hiemstra 2024-07-16 09:58:40 UTC
Git commit 8674b523e0417d3e92406812cd7f688b52182453 by Arjen Hiemstra.
Committed on 16/07/2024 at 09:55.
Pushed by ahiemstra into branch 'master'.

faces/text: Use grid layout for compact representation

This allows the compact rep to keep displaying multiple items, moving
them to new columns (in horizontal mode) or rows (in vertical mode) as
needed. Only if we can't even fit a full row/column of all the items do
we switch to smaller text.

M  +58   -11   faces/facepackages/textonly/contents/ui/CompactRepresentation.qml

https://invent.kde.org/plasma/libksysguard/-/commit/8674b523e0417d3e92406812cd7f688b52182453
Comment 11 Nate Graham 2024-07-27 22:00:21 UTC
*** Bug 489886 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2024-07-27 22:55:03 UTC
*** Bug 489767 has been marked as a duplicate of this bug. ***
Comment 13 Misaka17535 2024-09-13 19:20:54 UTC
Still messed up on my computer, which version did it fixed? Maybe I should do a manual update?
My version: System Monitor 6.1.4
Comment 14 Ismael Asensio 2024-09-14 09:10:08 UTC
(In reply to Misaka17535 from comment #13)
> Still messed up on my computer, which version did it fixed? Maybe I should
> do a manual update?
> My version: System Monitor 6.1.4

It was fixed for version 6.2, which is still in beta phase (6.2.0 official release is in three weeks)
Please, reopen only if the same issue keeps happening after upgrading to that version or the beta
Comment 15 yannssolo 2024-10-04 10:38:20 UTC
I reopened this issue because it still exists, it has always existed.
Even if my panel height is 70, the system monitor widget font size does not change, it stay way to small. The text is also abbreviated although it should not
Comment 16 Naxdy 2024-10-04 10:47:40 UTC
The bug is fixed in 6.2.0, not 6.1.x, therefore what you're seeing is expected.
Comment 17 yannssolo 2024-10-04 10:52:07 UTC
Created attachment 174401 [details]
Messed up system monitor widget

Here is a screenshot to see what's the issue is
Comment 18 yannssolo 2024-10-04 10:52:48 UTC
(In reply to Naxdy from comment #16)
> The bug is fixed in 6.2.0, not 6.1.x, therefore what you're seeing is
> expected.

Oh, OK, i did not know that, thank you for your help :)