<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D2525" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Instead of having a separate switch user screen, we just invoke the lock<br />
screen with a parameter to default to the switch session page.</p>

<p>This is better because:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">it's a familiar consistent UI to the lockscreen</li>
</ul>

<ul class="remarkup-list">
<li class="remarkup-list-item">It has all the lockscreen features. (Wallpapers, Multiscreen, OSDs)</li>
</ul>

<ul class="remarkup-list">
<li class="remarkup-list-item">Session switching is simpler as we won't have to wait to invoke the</li>
</ul>

<p>lock screen before switching VTs</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">We get rid of one more chunk of rubbish code from ksmserver</li>
</ul>

<p>(it becomes just KSldApp::self()->lock(DefaultToSwitchUser) instead of a<br />
blocking dialog)</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">There's one less lnf component to maintain</li>
</ul>

<p>However, it does bring the behavioural change that you can't cancel from<br />
the "switch user screen" without entering a password</p>

<p>(argubaly a feature... Switch User locks on some other platforms)</p>

<p>And the session will unconditionally lock when you switch session,<br />
currently it's linked to the config option "Lock screen automatically"</p>

<p>(which is arguably completely wrong anyway, as that config option is<br />
displayed as being about locking after a timeout)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKSCREENLOCKER KScreenLocker</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2525" rel="noreferrer">https://phabricator.kde.org/D2525</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>greeter/greeterapp.cpp<br />
greeter/greeterapp.h<br />
greeter/main.cpp<br />
ksldapp.cpp<br />
ksldapp.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>