[Uml-devel] [Bug 268469] Umbrello crashed when changing the Package of a class

Ralf Habacker ralf.habacker at freenet.de
Thu Dec 8 12:13:49 UTC 2011


--- Comment #4 from Ralf Habacker <ralf habacker freenet de>  2011-12-08 12:13:49 ---
at least on windows the problem occurs by an overwritten UMLListViewItem

in the current item is requested. 

void UMLListView::popupMenuSel(QAction* action)
    UMLListViewItem * temp = (UMLListViewItem*)currentItem();

later the property dialog is displayed: 

        if (Model_Utils::typeIsCanvasWidget(lvt)) {

after calling dlg->exec() 

bool UMLObject::showProperties(int page, bool assoc)
    DocWindow *docwindow = UMLApp::app()->docWindow();
    QPointer<ClassPropDlg> dlg = new ClassPropDlg((QWidget*)UMLApp::app(),
this, assoc);
    bool modified = false;
!!!    if (dlg->exec()) {

then at least the following object members of 'temp' are overwritten 

+        m_label    {d=0x00000000 }    QString
+        m_comap    {d=0xfdfdfdfd e=0xfdfdfdfd }    QMap<UMLClassifierListItem
*,UMLListViewItem *>

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the umbrello-devel mailing list