[umbrello-devel] [umbrello] [Bug 296300] Crash immediately after start

Ralf Habacker ralf.habacker at freenet.de
Mon Nov 4 07:42:04 UTC 2013


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

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ASSIGNED
                 CC|                            |ralf.habacker at freenet.de

--- Comment #16 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to comment #14)
> Created attachment 74601 [details]
> patch to fix assert on start
> 
> This is only my personal a quick fix.
> 
> The Problem is most likely a timing related issue, so instead of calling
> UMLApp::app()->listView()->closeDatatypesFolder()
> for every defaultDatatype
> I only call it once after all are added.
> 
> The timing related issue is probably due to the complexity of
> Object_Factory::createUMLObject. And the following event loop it triggers.
> UMLApp::app()->listView()->closeDatatypesFolder() might be called before all
> items are added.
> 
> I didn't dig to deep, so this might be wrong, but it fixes the assert on
> start for me.
Closing the data types folder only once looks better then the recent
implementation. If this also helps to avoid the crash, this is even better.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list