Bug 477928

Summary: Night Light KCM prompts to save changes after geolocation has been completed, even though no changes were made
Product: [Applications] systemsettings Reporter: MScattolin <matheus.scattolinanselmo>
Component: kcm_nightcolorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: feus73, kwin-bugs-null, nate
Priority: NOR Keywords: qt6
Version First Reported In: 5.90.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screen recording

Description MScattolin 2023-12-02 18:11:44 UTC
SUMMARY
If the kcm is set to handle night light automatically according to the current location, it prompts the user to save when switching away to another module even if no changes were made. This only happens AFTER the geolocation completes, switching away before it does triggers no prompt

STEPS TO REPRODUCE
1. Click on Night Light KCM through systemsettings 
2. Wait for the geolocation to complete
3. Switch to another KCM

OBSERVED RESULT
A dialog prompting to save changes that were not made

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.5.13
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Comment 1 Nate Graham 2023-12-05 21:12:59 UTC
This was fixed a couple of days ago.
Comment 2 Paolo Zamponi 2023-12-14 06:43:44 UTC
It happens again.
Comment 3 Nate Graham 2023-12-14 17:08:41 UTC
Can you attach a screen recording that shows it happening so we can be sure it's the same issue? Thanks!
Comment 4 Paolo Zamponi 2023-12-14 21:47:18 UTC
Created attachment 164169 [details]
Screen recording

Sure!

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.90.90
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.2.0-39-generic (64-bit)
Graphics Platform: Wayland
Comment 5 Paolo Zamponi 2023-12-15 09:39:18 UTC
Cannot reproduce anymore. Mark (again) as resolved.
Comment 6 Nate Graham 2023-12-15 15:57:04 UTC
Heh, thanks anyway!