<table><tr><td style="">ngraham 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/D12837">View Revision</a></tr></table><br /><div><div><p>Bulletproof steps to reproduce for me:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">System Settings > Account Details > User Manager > Create a new user</li>
<li class="remarkup-list-item">Give the new user admin rights</li>
<li class="remarkup-list-item">Log out</li>
<li class="remarkup-list-item">Log in as that the new user</li>
<li class="remarkup-list-item">Go to System Settings > Account Details > User Manager</li>
</ol>

<p>The user you were just logged in as before isn't listed!</p>

<p>This patch fixes that bug for me. The patch looks sane, but this code seems fragile and really needs an autotest...</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R128 User Manager</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12837">https://phabricator.kde.org/D12837</a></div></div><br /><div><strong>To: </strong>valeriymalov, Plasma<br /><strong>Cc: </strong>ngraham, rdieter, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>