Bug 452760

Summary: "Apply settings dialog" occurs when leaving "Activity Power Settings" though nothing was changed
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: hysteria1987, kde, nate, postix, zilla
Priority: NOR    
Version First Reported In: 5.26.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=408882
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:

Description postix 2022-04-19 11:42:18 UTC
STEPS TO REPRODUCE
1. Open Advanced Power settings (the Energy Saving tab is selected first)
2. Go to another KCM, like Fonts

OBSERVERED RESULT
The "Apply Settings" dialog opens for no reason.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220415
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2
Kernel Version: 5.17.2-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-04-19 16:24:58 UTC
Can reproduce.
Comment 2 Jonathan Wakely 2022-06-27 15:34:58 UTC
*** Bug 456042 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Wakely 2022-06-27 15:39:17 UTC
As soon as you navigate to the Activity Power Settings module an * is shown in the title bar, suggesting there are changes (even though you haven't clicked on anything yet). If you click on "Reset" the * goes away, and it no longer prompts you to apply/discard changes when navigating away.

Probably related to Bug 408882.
Comment 4 Patrick Silva 2022-07-30 15:18:21 UTC
*** Bug 457291 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2023-11-01 16:12:17 UTC
This is fixed by Jakob Petsovits with https://invent.kde.org/plasma/powerdevil/-/commit/8babe3530c32feb60e982eccd92fe2341091858d in Plasma 6, which re-does the entire UI and doesn't suffer from this issue anymore.