<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidedmundson requested review of this revision.
</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/D16066">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Removing this is part of preparations for ksmserver to become just an X<br />
session manager. See <a href="https://phabricator.kde.org/T9779" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">T9779</a>.</p>

<p>Instead of ksmserver opening the greeter with a tonne of args and then<br />
having a socket to watch for changes, the new mechanism is that we fire<br />
and forget the prompt. Then the logout prompt calls back into ksmserver<br />
with the request. Simplifies code greatly allows for moving.</p>

<p>KSMserver's shutdown DBus method remain on ksmserver for compatibility,<br />
but ultimately spawning the prompt will move to libkworkspace and called<br />
from the session directly.</p>

<p>QML API in the logout greeter remains mostly untouched.</p>

<p>Behavioural changes are minor:<br />
There was a QML property "choose" exposed to the greeter if the default<br />
shutdown option is set to None. Though we don't allow this in the KCM<br />
and our default prompt doesn't use it.</p>

<p>We no longer block a user from saving a session whilst a logout prompt<br />
is active.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Logged out<br />
Shutdown</p>

<p>Also ran with old ksmserver, still got a prompt</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>ksmserver_split</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16066">https://phabricator.kde.org/D16066</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>ksmserver/CMakeLists.txt<br />
ksmserver/org.kde.LogoutPrompt.xml<br />
ksmserver/server.cpp<br />
ksmserver/server.h<br />
ksmserver/shutdown.cpp<br />
logout-greeter/CMakeLists.txt<br />
logout-greeter/greeter.cpp<br />
logout-greeter/greeter.h<br />
logout-greeter/main.cpp<br />
logout-greeter/shutdowndlg.cpp<br />
logout-greeter/shutdowndlg.h</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>