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

List:       kde-bugs-dist
Subject:    [umbrello] [Bug 296300] Crash immediately after start
From:       Ralf Habacker <ralf.habacker () freenet ! de>
Date:       2013-11-04 7:42:04
Message-ID: bug-296300-17878-XIs84uWL9w () http ! bugs ! kde ! org/
[Download RAW message or body]

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

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

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

--- Comment #16 from Ralf Habacker <ralf.habacker@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 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