[Okular-devel] [Bug 213876] Konqueror crashed closing tab [KonqMainWindow::slotPartActivated, KonqViewManager::doSetActivePart, KParts::PartManager::eventFilter]

David Faure faure at kde.org
Tue Mar 16 20:55:47 CET 2010


https://bugs.kde.org/show_bug.cgi?id=213876


David Faure <faure at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #11 from David Faure <faure kde org>  2010-03-16 20:55:32 ---
First step: reproducing the bug. Using the pdf from bug 214380 I found the
following steps:
* konqueror
http://www.oedp.de/files/pdf/programme/BundespolitischesProgramm.pdf
* Ctrl+T (to get a second tab)
* Back to first tab, click on an entry in the table of contents (important so
that it has focus).
* Ctrl+W (close tab) -> crash.

Okular::Document::closeDocument calls TOC::hasTOC(false), which hides the TOC
widget, which triggers a focus change (the Sidebar gets focus), which
PartManager notices, and it tries to set the okular part as active again.

OK, removing part from PartManager before deleting it, seems to work. Commit
coming up.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Okular-devel mailing list