Bug 504335

Summary: System Monitor widget with Process Table visualization but no sensors selected unnecessarily shows "Configure" button after restarting plasmashell
Product: [Plasma] plasmashell Reporter: davidedangelo200404
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: ahiemstra, marco_parillo, nate, notmart, sonichedgehog_hyperblast00
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:
Attachments: this is a screenshot of what is seen, in particular it is this way on every boot

Description davidedangelo200404 2025-05-16 14:33:56 UTC
Created attachment 181386 [details]
this is a screenshot of what is seen, in particular it is this way on every boot

As said, in debian 13 trixie, kde 6.3.4 in the table of processes there is this writing showing "Configure" at the center, and I cannot cancel it.
Comment 1 Nate Graham 2025-05-16 15:02:13 UTC
Can you describe how you created this desktop widget?
Comment 2 davidedangelo200404 2025-05-16 15:19:58 UTC
(In reply to Nate Graham from comment #1)
> Can you describe how you created this desktop widget?

Yes, in edit mode I selected "add widgets" and selected "system monitor sensor", in its configuration i chose in "Appearence->Display_Style" the choice "Process Table", and that's it.
Comment 3 Nate Graham 2025-05-16 15:47:50 UTC
Thanks. While testing that, I ran into Bug 504343, which we need to fix in master first. After that's fixed, I'll re-test this.
Comment 4 Nate Graham 2025-05-16 16:14:40 UTC
Found a workaround for Bug 504343, so I can test this case now. It appears to be fixed for Plasma 6.4!
Comment 5 Nate Graham 2025-05-16 16:33:33 UTC
Nope, I'm wrong, I just reproduced it.

The key is that it only starts happening after restarting plasmashell (or the system, as you implicitly mentioned).
Comment 6 Nate Graham 2025-05-16 16:40:04 UTC
I suspect this is because since you didn't add any sensors, you technically haven't configured it yet. But with the Process table visualization, it doesn't need any sensors!
Comment 7 Bug Janitor Service 2025-05-16 20:12:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5477
Comment 8 cwo 2025-05-17 07:37:40 UTC
Git commit 184e883786520d6a7494b4db69dad29d69ff63a6 by Christoph Wolk.
Committed on 17/05/2025 at 06:46.
Pushed by cwo into branch 'master'.

applets/systemmonitor: skip configure button on sensorless faces

Some faces don't need sensors as they have their data included already,
namely Process Table and Application Table. The applet does not take
this into account and keeps showing the "Configure" button.

Instead, don't show that button if one of these faces is the current
face.
FIXED-IN: 6.4.0

M  +6    -1    applets/systemmonitor/systemmonitor/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/184e883786520d6a7494b4db69dad29d69ff63a6
Comment 9 Arjen Hiemstra 2025-05-20 11:13:59 UTC
*** Bug 486994 has been marked as a duplicate of this bug. ***
Comment 10 cwo 2025-05-21 05:23:25 UTC
Git commit b9bc83c656189c212dd0cf7faf254efc0241f31a by Christoph Wolk.
Committed on 21/05/2025 at 04:45.
Pushed by cwo into branch 'Plasma/6.4'.

applets/systemmonitor: skip configure button on sensorless faces

Some faces don't need sensors as they have their data included already,
namely Process Table and Application Table. The applet does not take
this into account and keeps showing the "Configure" button.

Instead, don't show that button if one of these faces is the current
face.
FIXED-IN: 6.4.0


(cherry picked from commit 184e883786520d6a7494b4db69dad29d69ff63a6)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +6    -1    applets/systemmonitor/systemmonitor/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/b9bc83c656189c212dd0cf7faf254efc0241f31a
Comment 11 Arjen Hiemstra 2025-05-21 11:48:09 UTC
*** Bug 476883 has been marked as a duplicate of this bug. ***