Bug 474865 - Dialog does not read autologin settings from config file before first use
Summary: Dialog does not read autologin settings from config file before first use
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 5.27.8
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-25 17:16 UTC by Eidur Eidsson
Modified: 2023-09-25 18:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eidur Eidsson 2023-09-25 17:16:29 UTC
Possibly related:
https://bugs.kde.org/show_bug.cgi?id=460053
https://bugs.kde.org/show_bug.cgi?id=471356

SUMMARY
The "Automatically log in as user" option under "Behaviour" remains greyed out if /etc/sddm.conf.d/kde_settings.conf is edited directly before it is first used graphically. Also, changing it graphically later messes with the theme settings.

STEPS TO REPRODUCE
1. Change kde_settings.conf without opening systemsettings, such as:
     [Autologin]
     Session=plasmawayland
     User=mainuser
     [Theme]
     Current=breeze
2. Open "Behaviour" in kcm_sddm and observe the displayed autologin settings.
3. Change the settings graphically.
4. Observe the changes in kde_settings.conf.

OBSERVED RESULT
After 1 & 2, the autologin settings remain greyed out and incorrect.
After 3 & 4, the autologin settings start working normally, regardless of where they are changed (file or dialog).
After 3 & 4, the theme setting is unset.