<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/D5490" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>If I have the mouse outside the window, and then deliberately move the mouse in to select something, by design, this won't update the index the first time.</p>

<p>It'll fix your bug, sure - but we're knowingly introducing a different bug.</p>

<p>What we need to do to fix the bug without regressions is separate the two events:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item phantom-item"><ul class="remarkup-list">
<li class="remarkup-list-item">the window expanding and us now containing the mouse</li>
</ul></li>
<li class="remarkup-list-item">the user actively moving the mouse into view.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R112 Milou</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5490" rel="noreferrer">https://phabricator.kde.org/D5490</a></div></div><br /><div><strong>To: </strong>leszeklesner, broulik<br /><strong>Cc: </strong>ltoscano, qi437103, lfurmetz, anthonyfieroni, davidedmundson, plasma-devel, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>