Version: current CVS (using KDE KDE 3.1.2) Installed from: SuSE RPMs Compiler: g++ (GCC) 3.3 20030226 OS: Linux Current CVS version of umbrelle can't reload folders with classes in list view. I get the following error message on reload - one warning for each containted folder: ------------------------------------- WARNING: unused list view item -1 of lvtype 803 ------------------------------------- If I create a new project with just one class in one folder (of logical view), and try to place the class into a class diagramm (drag&drop), umbrello crashes with the following trace: ------------------------------------- [New Thread 16384 (LWP 26876)] 0x41097cf7 in waitpid () from /lib/libpthread.so.0 #0 0x41097cf7 in waitpid () from /lib/libpthread.so.0 #1 0x4079ac89 in KCrash::defaultCrashHandler(int) () from /opt/kde3/lib/libkdecore.so.4 #2 0x41096895 in __pthread_sighandler () from /lib/libpthread.so.0 #3 <signal handler called> #4 0x40c07f73 in QListViewItem::QListViewItem(QListView*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #5 0x08152fa6 in UMLListViewItem::UMLListViewItem(UMLListView*) () #6 0x081e4f46 in UMLDrag::decodeClip3(QMimeSource const*, QPtrList<UMLListViewItem>&) () #7 0x0814cc98 in UMLListView::acceptDrag(QDropEvent*) const () #8 0x4056b0ec in KListView::contentsDragEnterEvent(QDragEnterEvent*) () from /opt/kde3/lib/libkdeui.so.4 #9 0x40c408fa in QScrollView::viewportDragEnterEvent(QDragEnterEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #10 0x40c3ffd4 in QScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #11 0x40c10e66 in QListView::eventFilter(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #12 0x40b3a5fe in QObject::activate_filters(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #13 0x40b3a4d2 in QObject::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #14 0x40b7289c in QWidget::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #15 0x40adb5f8 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #16 0x40adab50 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #17 0x40727929 in KApplication::notify(QObject*, QEvent*) () from /opt/kde3/lib/libkdecore.so.4 #18 0x40a8a631 in qt_handle_xdnd_position(QWidget*, _XEvent const*, bool) () from /usr/lib/qt3/lib/libqt-mt.so.3 #19 0x40a8bfa7 in QDragManager::move(QPoint const&) () from /usr/lib/qt3/lib/libqt-mt.so.3 #20 0x40a8ce99 in QDragManager::drag(QDragObject*, QDragObject::DragMode) () from /usr/lib/qt3/lib/libqt-mt.so.3 #21 0x40ae7b0e in QDragObject::drag(QDragObject::DragMode) () from /usr/lib/qt3/lib/libqt-mt.so.3 #22 0x40ae7aa9 in QDragObject::dragCopy() () from /usr/lib/qt3/lib/libqt-mt.so.3 #23 0x40569e8b in KListView::contentsMouseMoveEvent(QMouseEvent*) () from /opt/kde3/lib/libkdeui.so.4 #24 0x40c4086c in QScrollView::viewportMouseMoveEvent(QMouseEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #25 0x40c40040 in QScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #26 0x40c10e66 in QListView::eventFilter(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #27 0x40b3a5fe in QObject::activate_filters(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #28 0x40b3a4d2 in QObject::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #29 0x40b7289c in QWidget::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #30 0x40adb5f8 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #31 0x40adad76 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #32 0x40727929 in KApplication::notify(QObject*, QEvent*) () from /opt/kde3/lib/libkdecore.so.4 #33 0x40a7c5c8 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #34 0x40a79e30 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3 #35 0x40a8f4f2 in QEventLoop::processEvents(unsigned) () from /usr/lib/qt3/lib/libqt-mt.so.3 #36 0x40aefb83 in QEventLoop::enterLoop() () from /usr/lib/qt3/lib/libqt-mt.so.3 #37 0x40aefa76 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3 #38 0x40adb87f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3 #39 0x0811a1f7 in main () #40 0x411f68ae in __libc_start_main () from /lib/libc.so.6 -------------------------------------
Working on this one - fix will follow shortly.
Fixed in CVS. Please verify.
Subject: Re: [Uml-devel] folder with classes not reloaded for list view Hi, I can place a class from a folder in a class diagram again. But the folder and class aren't reloaded into the listview on next XMI file load. Bye, Achim Am Dienstag, 23. September 2003 23:33 schrieb Oliver Kellogg: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=64727 > > > > > ------- Additional Comments From okellogg@users.sourceforge.net 2003-09-23 > 23:33 ------- Fixed in CVS. > Please verify. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Uml-devel mailing list > Uml-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/uml-devel
Oh yeah, that was the easy part ;) Hopefully fixed for good now. Achim Spangler wrote: > > But the folder and class aren't reloaded into the listview > on next XMI file load.
OK - works now for projects which are created with the current CVS version. But old projects, where Folders have the ID "-1", aren't loaded correct. OK, I was able to fix this by hand - thanks to open text oriented file formats like XML/XMI.