[umbrello] [Bug 376804] "Else" part outside of alternative combined fragment on creation

Alessandro Stranieri bugzilla_noreply at kde.org
Fri Jul 14 12:08:34 UTC 2017


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

Alessandro Stranieri <alessandro.stranieri at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alessandro.stranieri at gmail.
                   |                            |com

--- Comment #3 from Alessandro Stranieri <alessandro.stranieri at gmail.com> ---
I have debugged this flow around the suggested location in the code. The
problem
is that the method CombinedFragmentWidget::setCombinedFragmentType() is
called after the selection of the combinedFragmentType but before the call
to UMLScene::setupNewWidget() which sets the position and the geometry of the
widget. This means that at that moment, any call to methods like y() or
height() won't return useful values. The solution would be for me to post-pone
the set-up of the FloatingDashLineWidget within the UMLScene::setupNewWidget().

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


More information about the umbrello-devel mailing list