Bug 508184

Summary: Display style of System Monitor widgets for desktop becomes "Text Only" regardless of the choice after being moved to the panel.
Product: [Plasma] plasmashell Reporter: Truars <Truars.ret85>
Component: System Monitor widgetsAssignee: Akseli Lahtinen <akselmo>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, akselmo, kdedev, nate, notmart
Priority: NOR Keywords: regression
Version First Reported In: 6.3.6   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 6.5.0
Sentry Crash Report:

Description Truars 2025-08-13 03:18:40 UTC
Display style of System Monitor widgets for desktop becomes "Text Only" regardless of the choice after being moved to the panel.

STEPS TO REPRODUCE

1.  Go to "Show Panel Configuration" by right-clicking on the panel and choosing this option.
2.  Go to "Add or Manage Widgets..." on top-left corner of desktop settings.
3.  Add any System Monitor widget(It should appear on desktop).
4. Move the widget to the panel by left-clicking on it and holding until you drag it to the panel.
5. Go to "Configure [MAY DIFFER]..." by right-clicking on the widget and choosing this option.
6. In "Appearance" change "Display Style" and apply the changes.
7. Display style will become "Text Only" regardless of the choice.

OBSERVED RESULT

Display style becomes "Text Only" regardless of the choice.

EXPECTED RESULT

Display style changes depending on the choice.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.12.41-1-MANJARO (64-bit)
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION

Bug occurs the same on X11 and Wayland
Comment 1 Nate Graham 2025-08-13 17:08:16 UTC
I can reproduce the issue on git master too.
Comment 2 Nate Graham 2025-09-19 18:24:38 UTC
*** Bug 488007 has been marked as a duplicate of this bug. ***
Comment 3 Bug Janitor Service 2025-09-23 15:02:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/439
Comment 4 Bug Janitor Service 2025-09-23 15:03:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5834
Comment 5 Marco Martin 2025-09-24 10:37:57 UTC
Git commit 90e975c9e19994b9d7ded058d93f0526fe8e51aa by Marco Martin.
Committed on 24/09/2025 at 10:37.
Pushed by mart into branch 'master'.

SensorFaceController: Possibility to reload the config from a given group

When a systemmonitor plasmoid is dragged between the desktop and panel,
all its configuration gets moved to a new group which lives under the
panel containment config group.
Therefore the SensorFaceController config doesn't live on the same
group anymore, and when calling reloadConfig, the actual groups used
need to change to the new ones.

M  +10   -0    faces/SensorFaceController.cpp
M  +5    -0    faces/SensorFaceController.h

https://invent.kde.org/plasma/libksysguard/-/commit/90e975c9e19994b9d7ded058d93f0526fe8e51aa
Comment 6 Bug Janitor Service 2025-09-24 10:40:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/440
Comment 7 Marco Martin 2025-09-24 10:40:35 UTC
Git commit 5bf00edbb23969ac702616790763308ab3534969 by Marco Martin.
Committed on 24/09/2025 at 10:40.
Pushed by mart into branch 'Plasma/6.5'.

SensorFaceController: Possibility to reload the config from a given group

When a systemmonitor plasmoid is dragged between the desktop and panel,
all its configuration gets moved to a new group which lives under the
panel containment config group.
Therefore the SensorFaceController config doesn't live on the same
group anymore, and when calling reloadConfig, the actual groups used
need to change to the new ones.


(cherry picked from commit 90e975c9e19994b9d7ded058d93f0526fe8e51aa)

a2999f1b SensorFaceController: Possibility to reload the config from a given group
8e9ad912 reloadConfig -> loadConfig

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +10   -0    faces/SensorFaceController.cpp
M  +5    -0    faces/SensorFaceController.h

https://invent.kde.org/plasma/libksysguard/-/commit/5bf00edbb23969ac702616790763308ab3534969
Comment 8 Marco Martin 2025-09-24 10:41:01 UTC
Git commit 811bca36b2cccc63458183a0bf12a2574d4f9eaf by Marco Martin.
Committed on 24/09/2025 at 10:40.
Pushed by mart into branch 'master'.

SystemMonitor: fix dragging between panel and desktop

m_sensorFaceController needs to be told about the current
applet config group every time we reload the config
because is not guaranteed to stay the same during the applet lifetime
For instance when the applet is dragged between the desktop and the
panel

depends on https://invent.kde.org/plasma/libksysguard/-/merge_requests/439
FIXED-IN: 6.5.0

M  +2    -1    applets/systemmonitor/systemmonitor/systemmonitor.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/811bca36b2cccc63458183a0bf12a2574d4f9eaf
Comment 9 Marco Martin 2025-09-24 10:41:54 UTC
Git commit 3c0729397130ad1792798767bc225bd20190502e by Marco Martin.
Committed on 24/09/2025 at 10:41.
Pushed by mart into branch 'Plasma/6.5'.

SystemMonitor: fix dragging between panel and desktop

m_sensorFaceController needs to be told about the current
applet config group every time we reload the config
because is not guaranteed to stay the same during the applet lifetime
For instance when the applet is dragged between the desktop and the
panel

depends on https://invent.kde.org/plasma/libksysguard/-/merge_requests/439
FIXED-IN: 6.5.0


(cherry picked from commit 811bca36b2cccc63458183a0bf12a2574d4f9eaf)

e75b4eb0 SystemMonitor: fix dragging between panel and desktop
94a09327 adapt to api change

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +2    -1    applets/systemmonitor/systemmonitor/systemmonitor.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/3c0729397130ad1792798767bc225bd20190502e