Bug 450649

Summary: Custom SDDM background is reset to default when auto-login is enabled
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_sddmAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, plasma-bugs-null, sephiroth_pk
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2022-02-21 12:21:35 UTC
STEPS TO REPRODUCE
1. use Breeze theme for SDDM and set a custom background for it
2. logout: previously set custom background is in use, as expected
3. login
4. open SDDM KCM and click on "Behavior...' button
5. enable auto-login, choose a user and a session
6. apply the changes
7. logout

OBSERVED RESULT
default background of Breeze SDDM theme is in use

EXPECTED RESULT
auto-login settings should not affect the background of SDDM theme

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-02-22 03:13:16 UTC
Did the wallpaper path in the config file change when you enabled auto-login?

If not, this seems like it's more likely to be a bug in SDDM itself.
Comment 2 Patrick Silva 2022-02-22 13:41:13 UTC
what is the config file? I don not see any reference to wallpaper path in the following config files:
/usr/lib/sddm/sddm.conf.d/00neon-reuse.conf
/usr/lib/sddm/sddm.conf.d/00neon-theme.conf
/etc/sddm.conf.d/kde_settings.conf
Comment 3 Patrick Silva 2022-02-22 13:57:24 UTC
The value of 'background' does not change in /usr/share/sddm/themes/breeze/theme.conf.user
when I enable auto-login.
Comment 4 Nate Graham 2022-02-22 17:59:38 UTC
Was there a wallpaper entry in /etc/sddm.conf.d/kde_settings.conf before you enabled auto-login?
Comment 5 Riccardo Robecchi 2022-02-22 21:56:57 UTC
I can confirm the bug. On my desktops, where autologin is enabled, the wallpaper is reset to the default (and in my case, using the Chilli theme downloaded from KNS, that default is none for some reason...).

(In reply to Nate Graham from comment #4)
> Was there a wallpaper entry in /etc/sddm.conf.d/kde_settings.conf before you
> enabled auto-login?

I've tried disabling auto-login and no wallpaper entry appears there.
Comment 6 Patrick Silva 2022-02-23 10:15:10 UTC
(In reply to Nate Graham from comment #4)
> Was there a wallpaper entry in /etc/sddm.conf.d/kde_settings.conf before you
> enabled auto-login?
no
Comment 7 Patrick Silva 2023-11-18 21:03:22 UTC
Cannot reproduce.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.0
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland