Bug 457291

Summary: Clicking off 'Activity Power Settings' causes a prompt to save module settings, despite no settings being changed
Product: [Applications] systemsettings Reporter: hysteria1987
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: bugseforuns
Priority: NOR    
Version First Reported In: 5.25.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hysteria1987 2022-07-30 09:57:29 UTC
SUMMARY
***
Apologies if this is the wrong section, I've never raised a bug report for KDE before and am not super-familiar with the codebase.
In System Settings, I get a prompt to save changes on the when I click off the 'Activity Power Settings' menu item, despite not having made any changes in there.
***


STEPS TO REPRODUCE
1. Open System Settings.
2. Click on 'Power Management' menu item.
3. In sub-menu that appears, click on 'Activity Power Settings'. Do not click on anything inside the Activity Power Settings screen.
4. Click on another menu item (Let's say 'Energy Saving').

OBSERVED RESULT
A message box appears stating that module settings have changed, and asks if I want to save changes.

EXPECTED RESULT
No message box appears - the screen for the new menu item clicked on appears.


SOFTWARE/OS VERSIONS
Arch Linux, kernel 5.18.4
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
This issue has also appeared for me in earlier versions of KDE.
When I started writing this bug report I was encountering the issue with 3 activities - I cut it down to 1 and the issue still occurs.
The messagebox prompt asking me if I'd like to save changes has 3 options - apply, discard or cancel. As a test I have tried all 3 options, but the message box does return each time I click out of Activity Power Settings again.
Comment 1 Patrick Silva 2022-07-30 15:18:21 UTC

*** This bug has been marked as a duplicate of bug 452760 ***