<table><tr><td style="">vkorneev 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/D14633">View Revision</a></tr></table><br /><div><div><p>I've tried to implement the approach discussed above. Here is the video of the results achieved as for now:</p>

<p><a href="https://phabricator.kde.org/F6187306" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6187306: kdevelop_projecttreeview2.mp4</a></p>

<p>The only problem which really bothers me in the current implementation is the unstable behaviour of the items during the collapse of the other folders: if the folder expanded is situated under the folders which where previously expanded (and therefore should be collapsed automatically), it shifts upwards and slips from under the mouse cursor. I've tried to solve this problem shifting the viewport widget back again, but that doesn't work when the vertical scrollbar value is 0 (can't scroll lower).</p>

<p>So, the critics are welcome, as well as the advice whether I should continue the work on this issue or should better move to something more useful.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14633">https://phabricator.kde.org/D14633</a></div></div><br /><div><strong>To: </strong>vkorneev, KDevelop<br /><strong>Cc: </strong>kossebau, croick, kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>