<table><tr><td style="">loh.tar updated this revision to Diff 57082.<br />loh.tar edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-kugfvk644fyr6vt/">(Show Details)</a><br />loh.tar edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-nm7gwwfd6znxorr/">(Show Details)</a><br />loh.tar 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/D20852">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">Fix missing cleanup in case of unvalid mouse position</li>
<li class="remarkup-list-item">Give members more fitting names</li>
<li class="remarkup-list-item">Remove unneeded m_nextHighlightBlock</li>
<li class="remarkup-list-item">Remove repaint()</li>
<li class="remarkup-list-item">Remove commented event filter hint</li>
</ul></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>-<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> Fix missing cleanup in case of unvalid mouse position<br />
-</span> Tried to simplify the code<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> and improve readability</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">TODO/QUESTIONS<br />
- Increase m_delayFoldingHlTimer to 500ms just for interest, 150 is not to notice</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- Compare what happens when you hover a folded range while the window is half behind some other window</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> - The working of these timer looks to me broken. I guess the intend was to delay only the popup, or maybe always,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- Have the feeling kateview_test testDragAndDrop fails more and more often.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">but currently it looks somehow pointless. <br />
- With this new value you have at least a flicker protection when you try to reach the areas behind the folding area. Perhaps is that the only intend(?)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Have already spend a lot of time in look at that but without success <br />
<br />
TODO/QUESTIONS<br />
- How about a smart pointer for m_foldingRange?</span><br />
</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D20852?vs=57064&id=57082">https://phabricator.kde.org/D20852?vs=57064&id=57082</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20852">https://phabricator.kde.org/D20852</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/view/kateviewhelpers.cpp<br />
src/view/kateviewhelpers.h</div></div></div><br /><div><strong>To: </strong>loh.tar, KTextEditor<br /><strong>Cc: </strong>brauch, kwrite-devel, kde-frameworks-devel, KTextEditor, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>