Bug 422888 - CPU monitoring plasmoid not displaying last 2 sensors when in the task bar
Summary: CPU monitoring plasmoid not displaying last 2 sensors when in the task bar
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor (show other bugs)
Version: 5.19.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-12 18:32 UTC by David R
Modified: 2020-06-24 09:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing only 6 CPU stats when I have 8 CPUs (and 8 bars correctly displayed) (207.38 KB, image/png)
2020-06-12 18:32 UTC, David R
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David R 2020-06-12 18:32:56 UTC
Created attachment 129274 [details]
Screenshot showing only 6 CPU stats when I have 8 CPUs (and 8 bars correctly displayed)

Hi,

I added the Plasmoid providing all CPU usage in the task bar to have a permament view on the usage of each core.
The task bar correctly displays 8 bars (I have 8 cores (hyperthreading)).
When I click on the plasmoid, it opens a small information area but I have the CPU % for only 6 cores.

The plasmoid lets you add other sensors. If I add a new sensor, then I can see 7 cores.
To my understanding, it's not limited to 6 sensors, but the 2 last sensors are omitted and not displayed.

See attached picture, it will make it easier to understand.


STEPS TO REPRODUCE
1. Add the CPU statistics plasmoid to the taskbar (can't tell the real name, my desktop is not in English)
2. Click on it on the taskbar
3. Some sensors are missing (at least with 8 cores, don't know with less)


EXPECTED RESULT
I expect to get the % usage for the 8 cores


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux - Kernel 5.7.2
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Comment 1 Bug Janitor Service 2020-06-17 16:19:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/28
Comment 2 Marco Martin 2020-06-19 08:25:01 UTC
Git commit 3a133b7067c36e0ec36ea400908c7425ecacfdac by Marco Martin.
Committed on 19/06/2020 at 08:24.
Pushed by mart into branch 'Plasma/5.19'.

expose better size hints

expose size hints calculated better that make sure that when in popup
the full legend is shown
Related: bug 422669

M  +2    -0    faces/facepackages/barchart/contents/ui/CompactRepresentation.qml
M  +9    -1    faces/facepackages/barchart/contents/ui/FullRepresentation.qml
M  +7    -0    faces/facepackages/linechart/contents/ui/FullRepresentation.qml
M  +9    -4    faces/facepackages/piechart/contents/ui/FullRepresentation.qml
M  +6    -0    faces/facepackages/textonly/contents/ui/FullRepresentation.qml

https://invent.kde.org/plasma/libksysguard/commit/3a133b7067c36e0ec36ea400908c7425ecacfdac
Comment 3 Marco Martin 2020-06-24 09:56:22 UTC
Git commit b7d7bfb0b88195e2b973b2ddc09eedf2810da88c by Marco Martin.
Committed on 24/06/2020 at 09:40.
Pushed by mart into branch 'Plasma/5.19'.

better propagate size hints

better propagate Layout.* hints from the loaded faces to the plasmoid
object
this helps in obtaining a more crorrectly sized popup
Related: bug 422669

M  +6    -6    applets/systemmonitor/systemmonitor/package/contents/ui/CompactRepresentation.qml
M  +8    -13   applets/systemmonitor/systemmonitor/package/contents/ui/FullRepresentation.qml
M  +8    -2    applets/systemmonitor/systemmonitor/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/b7d7bfb0b88195e2b973b2ddc09eedf2810da88c