Bug 460423

Summary: Non-default sddm background is not treated as changed setting, but it is reverted when default settings are applied
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_sddmAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2022-10-14 11:28:51 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. open SDDM KCM
2. make sure you are using default settings - 'Defaults' button must be greyed out
3. change the backgroud of Breeze SDDM theme and apply the change - 'Defaults' button remains greyed out
4. click on 'Behavior...' button and enable auto-login
5. go back to the main page of SDDM KCM
6. click on 'Defaults' button and apply the change
7. logout

OBSERVED RESULT
SDDM has the default background, not the one applied in the step 3

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2022-10-14 11:32:51 UTC
EXPECTED RESULT
non-default SDDM background should be treated as changed setting

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 2 Nate Graham 2022-10-14 20:15:52 UTC
I think I'm confused. In step 6 you told the KCM to reset everything to its default settings. That would include the wallpaper. So why would you expect to see your custom wallpaper on login after doing this?
Comment 3 Patrick Silva 2022-10-15 10:44:32 UTC
I do not expect my custom background in SDDM after the provided steps. The observed result is confusing because the custom background is
reverted to the default one after click on 'Defaults' and 'Apply' buttons despite it is not considered a changed setting, but it should be.
Therefore, the 'Defaults' button should be activated after setting the custom background in the step 3.

This report is a bit confusing. I have filed bug 460471. Sorry.