Bug 474649

Summary: "Apply" button in widget settings remains active after click
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: agurenko, ahiemstra, fanzhuyifan, notmart
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=477940
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2023-09-18 10:02:39 UTC
Created attachment 161691 [details]
screen recording

STEPS TO REPRODUCE
1. add a System Monitor widget to desktop
2. open the widget settings and click on "Sensors details" in the left side
3. edit the label of any sensor
4. click on "Apply" button - the change is applied and "Apply" button becomes greyed out as expected
5. undo the edit done in the step 3
6. click on "Apply" button

OBSERVED RESULT
the change is applied but "Apply" button remains active. If I click on the button again, it becomes greyed out as expected.
Please watch the attached screen recording.

EXPECTED RESULT
"Apply" button should always become greyed out after click

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 fanzhuyifan 2024-01-16 00:50:45 UTC
Can reproduce.
Comment 2 fanzhuyifan 2024-01-16 01:39:07 UTC
Possibly related console warning: 

/kde/usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml:30:5: QML Connections: Detected function "onConfigurationChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.