<table><tr><td style="">rjvbb created this revision.<br />rjvbb added a project: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.
</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/D7179" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>On Mac, selecting a document in the dropdown sorted list of open documents changes the document view but doesn't set the focus and window title accordingly. One needs to click in the editor view to finalise the operation. This can be annoying and hinder productivity. It is not related to the QPA plugin in use (it happens with the Cocoa and the XCB backends).</p>
<p>I've linked this to the use of a <tt style="background: #ebebeb; font-size: 13px;">QSignalBlocker</tt> in <tt style="background: #ebebeb; font-size: 13px;">Sublime::Container::setCurrentWidget()</tt>; removing that instance (on Mac) makes the issue disappear.</p>
<p><a href="https://bugs.kde.org/show_bug.cgi?id=382338" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=382338</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Check if the bug for which the blocker was <br />
(<a href="https://cgit.kde.org/kdevplatform.git/commit/?id=e626a9715b3c79dc06ce413cac57203c13868823" class="remarkup-link" target="_blank" rel="noreferrer">https://cgit.kde.org/kdevplatform.git/commit/?id=e626a9715b3c79dc06ce413cac57203c13868823</a>) still occurs without the block.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7179" rel="noreferrer">https://phabricator.kde.org/D7179</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>sublime/container.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop<br /><strong>Cc: </strong>kfunk, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>