Bug 503658

Summary: Night color / Night light asks about unsaved changes even though nothing was changed
Product: [Applications] systemsettings Reporter: Tobias Zwick <newton>
Component: kcm_nightcolorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kwin-bugs-null, nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:
Attachments: video that showcases the issue
bug not resolved

Description Tobias Zwick 2025-05-02 11:27:18 UTC
Created attachment 180875 [details]
video that showcases the issue

SUMMARY
When one haven't entered the night color settings for a bit, on exiting these settings, one is asked about saving changes even if one didn't change anything.

STEPS TO REPRODUCE
1. Have night light on.
2. Wait for some time until reentering night light settings. (Unknown by how much - 10 minutes? 10 hours? Until geolocation changed a bit?) 
2. Reenter night light settings
3. Exit night light settings (e.g. switch to a different item in the navigation)

OBSERVED RESULT
Prompt that asks about unsaved changes is shown when exiting the night color screen.

EXPECTED RESULT
Prompt is only shown when the user made changes.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42

ADDITIONAL INFORMATION
Might be related: https://bugs.kde.org/show_bug.cgi?id=477928
Comment 1 Nate Graham 2025-05-02 16:01:08 UTC
This is fixed for Plasma 6.4!
Comment 2 Tobias Zwick 2025-05-02 16:15:32 UTC
Nice!
Comment 3 Tobias Zwick 2025-07-24 16:10:38 UTC
I am on Plasma 6.4.3 now and can not confirm that the bug has been fixed.
Comment 4 Tobias Zwick 2025-07-24 16:10:50 UTC
Created attachment 183496 [details]
bug not resolved
Comment 5 Nate Graham 2025-07-25 10:41:13 UTC
Seems to be fixed again in git master.