D6436: Fix crash on clicking "Show documentation for xyz" in code tooltip

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Thu Jun 29 15:37:22 UTC 2017


kossebau created this revision.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  Sync handling of focus change on opening the documentation docker
  results in destruction of AbstractNavigationWidget object
  and thus also the AbstractNavigationContext object it holds,
  which is a QSharedData subclass, this way crashing the
  QExplicitlySharedDataPointer on itself returned from the method
  once it gets to its destructor.

TEST PLAN
  No longer crashes when documentation docker is closed and the
  "Show documentation for xyz" link is activated.

REPOSITORY
  R33 KDevPlatform

BRANCH
  fixcrashondocslinkfromtooltip

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

AFFECTED FILES
  interfaces/idocumentationcontroller.h
  language/duchain/navigation/abstractnavigationcontext.cpp

To: kossebau, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170629/bf6f1007/attachment.html>


More information about the KDevelop-devel mailing list