<table><tr><td style="">davidedmundson added a comment.
</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/D15869">View Revision</a></tr></table><br /><div><div><p>It was.The situation is now much much much better.<br />
But kscreenlocker-greet is a different process, and we've definitely seen that fallback prompt shown.</p>

<p>Also I don't like the way it was done. It was done as a conservative exact 1:1 mapping of the original code with a FD in the middle rather than designing something.</p>

<p>All that was needed was:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">spawn logout prompt (probably DBus activation to avoid dupes) as fire-and-forget</li>
<li class="remarkup-list-item">logout prompt using the existing ksmserver API to perform logout/shutdown over DBus with the "don't confirm" argument set</li>
</ul>

<p>In my quest to strip ksmserver to being just an X session manager, I want to do the refactor above so that it's then highly movable.</p>

<p>I think I can do everything in a backwards compatible way for each release, I'm not sure about doing every possible upgrade combo.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15869">https://phabricator.kde.org/D15869</a></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>