aacid added a comment.
So https://paste.kde.org/pwvknplv2 shows the problem Shell is deleting m_tabWidget which is deleting the sidebars before the parts are deleted. Do you understand that from reading that piece of text? One thing that may fix it is changing m_sidebar = new Sidebar( parentWidget ); to m_sidebar = new Sidebar(); in part.cpp, this micht change the part/child relationships and get yourself of this problem. can you give it a quick try? REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D11051 To: dileepsankhla, #okular, aacid Cc: aacid, sander, #okular, michaelweghorn, ngraham