[umbrello-devel] [umbrello] [Bug 341709] Crash while importing C++ code from existing project

Ralf Habacker ralf.habacker at freenet.de
Wed Dec 10 11:16:15 UTC 2014


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

--- Comment #4 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Guus from comment #3)
> While reading up on Qt I saw somewhere that Qt delays signals until they 
> can be processed in their own thread. Could this explain the delay we 
> are experiencing here? Probably the application would have to be 
> multithreaded for that to happen.
> Maybe this explains the delay.
> 
>From the related code path the following happens:

Object_Factory::createUMLObject() 
        calls Object_Factory::createNewUMLObject() 
        which 
               1. creates the object
               2. add it to the undo list
               3. signals object creation
(UMLApp::app()->document()->signalUMLObjectCreated(o);)
               4. call qApp->processEvents() to handle signals/slots  
               5. return

The list view is connected to the signal mentioned in 3.  It creates the list
view entry and adds it to the list view. The question is if this is completly
handled by 4. 

To be sure about that, a test case header file is required.

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


Make the world a better place. Donate to our year end fundraiser https://www.kde.org/fundraisers/yearend2014/


More information about the umbrello-devel mailing list