<table><tr><td style="">rjvbb updated this revision to Diff 16320.<br />rjvbb 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/D6531" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>This version sets the Dock menu in the documentListMenu updated method (if not yet set), uses a focusInEvent()  override to change the Dock menu when a different container is selected, and unsets the menu in the Container dtor. This mostly works; there are still times when the Dock menu remains empty when it shouldn't.</p>

<p>I haven't checked if these functions are always called from a single thread only; are they, or can race conditions occur?</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D6531?vs=16252&id=16320" rel="noreferrer">https://phabricator.kde.org/D6531?vs=16252&id=16320</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6531" rel="noreferrer">https://phabricator.kde.org/D6531</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>sublime/container.cpp<br />
sublime/container.h</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, kfunk<br /><strong>Cc: </strong>kfunk, kdevelop-devel, kde-mac, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>