D7179: Mac: fixing sortedDocumentList menu doesn't change focus (WIP)

René J.V. Bertin noreply at phabricator.kde.org
Mon Aug 7 09:12:57 UTC 2017


rjvbb created this revision.
rjvbb added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  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).
  
  I've linked this to the use of a `QSignalBlocker` in `Sublime::Container::setCurrentWidget()`; removing that instance (on Mac) makes the issue disappear.
  
  https://bugs.kde.org/show_bug.cgi?id=382338

TEST PLAN
  Check if the bug for which the blocker was 
  (https://cgit.kde.org/kdevplatform.git/commit/?id=e626a9715b3c79dc06ce413cac57203c13868823) still occurs without the block.

REPOSITORY
  R33 KDevPlatform

REVISION DETAIL
  https://phabricator.kde.org/D7179

AFFECTED FILES
  sublime/container.cpp

To: rjvbb, #kdevelop
Cc: kfunk, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170807/c15a1887/attachment.html>


More information about the KDevelop-devel mailing list