davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY AccountsService is a bit weird, the automatic login flag adjusts a config file in /etc/gdm/ This doesn't work for two reasons: 1. SDDM (our Display Manager) obviously doesn't read this file 2. AccountsService doesn't create the folder if it doesn't exist, so we can't even use if we tried. This patch adjusts UserManager to write /etc/sddm.conf directly. It's not ideal, but I think it's the only option we have, certainly in the short term. BUG: 363058 TEST PLAN Set automatic login on a user Restarted KCM, still set Set it on another user, config changed properly, old user was updated Unchecked it on my current user, config file was unset properly REPOSITORY R128 User Manager BRANCH master REVISION DETAIL https://phabricator.kde.org/D3658 AFFECTED FILES CMakeLists.txt src/CMakeLists.txt src/account.ui src/lib/accountmodel.cpp src/lib/accountmodel.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmundson, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas