[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 195047] crash on exit with no documents open
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2009-08-01 0:30:49
Message-ID: 20090801003049.6B05214970 () immanuel ! kde ! org
[Download RAW message or body]

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





--- Comment #5 from Andreas Pakulat <apaku gmx de>  2009-08-01 02:30:45 ---
The fix is to find out what messes up KDevelops document list. The
problemreporter plugin gets notified by the editorintegrator when a document is
being deleted and then unregisters the highlighter. Your problemreporter still
has a highlighter in its list, which is "impossible" because documentcontroller
is cleaned up before plugincontroller and hence all documents are already
closed (in theory at least)

This in turn means that there are apparently ways of either make
documentcontroller/editorintegrator "forget" about certain documents or
create/open documents without editorintegrator being notified.

The reason why removing the kdeveloprc works is because all documents that have
been opened before in KDevelop are stored there. I think one possible reason
for the problem to happen is if there's a non-existing document in the rc-file
(i.e. document has been removed meanwhile), I don't think we ever delete it
from the rc-file even if we see it doesn't exist....

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic