SUMMARY The default logout option does not work with SDDM STEPS TO REPRODUCE 1. System Settings -> Startup and Shutdown -> Desktop Session -> Default Leave Option -> Turn off computer 2. Right click on desktop -> Leave 3. Note that default leave option is log out OBSERVED RESULT log out selected! EXPECTED RESULT turn off computer selected! The logout widget is plasma-workspace:lookandfeel/contents/logout/Logout.qml The plasma-desktop:kcms/ksmserver/smserverconfigdlg.ui Linux using KDE neon Dev Stable using Plasma 5.15 beta. The what's this text for the widget says: "Here you can choose what should happen by default when you log out. This only has meaning, if you logged in through KDM." so I guess this has not worked for some time.
I could confirm but only with Plasma 5.14.90. Until 5.14.5 everyting was ok. So it's regresion.
Trying this with Plasma 5.14 and it works correctly with shutdown being the default if that is the setting (although the icon is not highlighted).
Git commit fc2d0c4f56eb90a5d689472082074c1b5688f569 by David Edmundson. Committed on 21/01/2019 at 19:42. Pushed by davidedmundson into branch 'Plasma/5.15'. Handle ShutdowntypeDefault in KSMserver legacy code Summary: In the ksmserver porting most code was moved to explicitly calling logout or shutdown methods rather than a random enum. A legacy code path remained for compatibility. This path is used by the containmentactions, in the refactor handling of KWorkspace::ShutdownTypeDefault was lost. Fixed-in: 5.15.0 Test Plan: Set different default modes Logged out using containment actions Reviewers: #plasma, broulik Reviewed By: #plasma, broulik Subscribers: ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D18435 M +5 -2 ksmserver/logout.cpp https://commits.kde.org/plasma-workspace/fc2d0c4f56eb90a5d689472082074c1b5688f569
It looks like with commit #fc2d0c4f56eb90a5d689472082074c1b5688f569 work ok. Thx