[calligra] krita: let the layerbox have it's own node model instead of the image node model which is shared across views

Boudewijn Rempt boud at valdyas.org
Sat Feb 26 11:38:33 CET 2011


On Friday 25 February 2011, Sven Langkamp wrote:
> Git commit f56e61f23a9b65f70d940aa4941af85f06fd0c5f by Sven Langkamp.
> Committed on 25/02/2011 at 15:49.
> Pushed by langkamp into branch 'master'.
> 
> let the layerbox have it's own node model instead of the image node model which is shared across views
> now different view can have different active layers
> BUG:257404

Could this be related to the crash on exit lukas reported yesterday night?

hread 1 (Thread 0xb616f9c0 (LWP 14834)):
[KCrash Handler]
#7  0x00599f7a in size (this=0xaeb78d0) at /usr/include/QtCore/qlist.h:94
#8  size (this=0xaeb78d0) at /usr/include/QtCore/qlist.h:124
#9  KisNode::childCount (this=0xaeb78d0) at /home/lukas/src/calligra/krita/image/kis_node.cpp:187
#10 0x00e63b2e in KisNodeModel::rowCount (this=0xa9b7f90, parent=...) at /home/lukas/src/calligra/krita/ui/kis_node_model.cpp:142
#11 0x0025c9df in QAbstractItemModel::hasChildren(QModelIndex const&) const () from /usr/lib/libQtCore.so.4
#12 0x04dd92cf in QTreeView::doItemsLayout() () from /usr/lib/libQtGui.so.4
#13 0x04d8fc43 in QAbstractItemView::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x0480526c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x04809f7f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x05db717b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00269333 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x04862a49 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#19 0x04862704 in QWidgetPrivate::show_recursive() () from /usr/lib/libQtGui.so.4
#20 0x048627fc in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#21 0x04862942 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#22 0x04862704 in QWidgetPrivate::show_recursive() () from /usr/lib/libQtGui.so.4
#23 0x048627fc in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#24 0x04862942 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#25 0x04862dc3 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#26 0x007c4e67 in KoMainWindow::closeEvent (this=0x9fc3298, e=0xbfdf16a8) at /home/lukas/src/calligra/libs/main/KoMainWindow.cpp:1060
#27 0x0485e9c1 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x04c79547 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x05e97a14 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x05ed9830 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#31 0x0480526c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x04809f7f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x05db717b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#34 0x00269333 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#35 0x04859157 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQtGui.so.4
#36 0x0488fcd3 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) () from /usr/lib/libQtGui.so.4
#37 0x0488d982 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#38 0x048b93e9 in ?? () from /usr/lib/libQtGui.so.4
#39 0x002684ca in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x0026877a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x0026d327 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#42 0x04803078 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#43 0x004936fd in kdemain (argc=1, argv=0xbfdf1d84) at /home/lukas/src/calligra/krita/main.cc:49
#44 0x0804882b in main (argc=1, argv=0xbfdf1d84) at /home/lukas/src/build/calligra/krita/krita_dummy.cpp:3
 
-- 
Boudewijn Rempt | http://www.valdyas.org, http://www.krita.org


More information about the kimageshop mailing list