View Issue Details

IDProjectCategoryView StatusLast Update
0012590ScribusUndo/Redopublic2014-08-06 12:14
ReporterFirasH Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012590: Undo/Redo may create ghost entries in Outline palette deleting Layers
DescriptionUndo/Redo may create ghost entries in Outline palette deleting Layers.
Steps To Reproduce0) Create a new document and make sure Windows > Outline and Layers are opened
1) Add a new Layer "New Layer 1"
2) Open all the sub menu "Page 1" in Windows > Outline
3) Delete the Layer "New Layer 1"
4) Undo once
In Windows > Outline you can see that there is a ghost entry of the deleted Layer

4) Click on the ghost entry

Scribus crashes due to Signal 6
Additional Information1.5.0.svn (19412)


ASSERT: "ll" in file /home/.../Scribus/scribus/scribusdoc.cpp, line 3070

Program received signal SIGABRT, Aborted.
0x00007fffef509849 in raise () from /lib64/libc.so.6
(gdb) bt
 0 0x00007fffef509849 in raise ()
   from /lib64/libc.so.6
 1 0x00007fffef50acd8 in abort ()
   from /lib64/libc.so.6
 2 0x00007ffff74168ae in QMessageLogger::fatal(char const*, ...) const ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 3 0x00007ffff7411d11 in qt_assert(char const*, char const*, int) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 4 0x0000000000d1497a in ScribusDoc::setActiveLayer (this=0x33a8fa0, layerToActivate=1)
    at /home/.../Scribus/scribus/scribusdoc.cpp:3070
 5 0x0000000000f9aa92 in OutlinePalette::slotSelect (this=0x2543650, ite=0x2fca690)
    at /home/.../Scribus/scribus/ui/outlinepalette.cpp:1012
 6 0x0000000000f9a6c9 in OutlinePalette::slotMultiSelect (this=0x2543650)
    at /home/.../Scribus/scribus/ui/outlinepalette.cpp:961
 7 0x00000000007afddc in OutlinePalette::qt_static_metacall (_o=0x2543650, _c=QMetaObject::InvokeMetaMethod, _id=18,
    _a=0x7fffffffb5f0) at /home/.../Scribus/build/scribus/ui/moc_outlinepalette.cpp:168
 8 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 9 0x00007ffff6f4e4cd in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 10 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 11 0x00007ffff760df27 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 12 0x00007ffff761381f in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 13 0x00007ffff7615467 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 14 0x00007ffff6f23dd1 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 15 0x00007ffff6f24e42 in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 16 0x00007ffff6edbdb4 in QAbstractItemView::mousePressEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 17 0x00007ffff6f2151b in QTreeView::mousePressEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 18 0x00007ffff6cc5c0d in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 19 0x00007ffff6dd0b46 in QFrame::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 20 0x00007ffff6edeb4b in QAbstractItemView::viewportEvent(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 21 0x00007ffff6f1bc4a in QTreeView::viewportEvent(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 22 0x0000000000f964aa in OutlineWidget::viewportEvent (this=0x2546c70, event=0x7fffffffcde0)
    at /home/.../Scribus/scribus/ui/outlinepalette.cpp:415
 23 0x00007ffff7659173 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 24 0x00007ffff6c8da5f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 25 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 26 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 27 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 28 0x00007ffff6ce5e87 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 29 0x00007ffff6ce89d8 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 30 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 31 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 32 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 33 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 34 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 35 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 36 0x00007fffe548c460 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
 37 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
 38 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
 39 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
 40 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
 41 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 42 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 43 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 44 0x00000000012413e0 in mainApp (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:86
 45 0x0000000001241370 in main (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

Kunda

2014-08-06 04:09

updater   ~0033183

Confirmed on OSX 10.8.5 1.5.0.svn (19412)

FirasH

2014-08-06 10:17

reporter   ~0033185

In a more generic way, Undo/Redo does not update the Layers in Outline window.

FirasH

2014-08-06 12:14

reporter   ~0033186

Thanks jghali!
Fixed in 1.5.0.svn (19413).

Issue History

Date Modified Username Field Change
2014-08-05 22:11 FirasH New Issue
2014-08-05 22:11 FirasH Relationship added child of 0012500
2014-08-06 04:09 Kunda Note Added: 0033183
2014-08-06 04:09 Kunda Status new => confirmed
2014-08-06 04:09 Kunda Target Version => 1.5.0
2014-08-06 10:17 FirasH Note Added: 0033185
2014-08-06 12:01 jghali Status confirmed => resolved
2014-08-06 12:01 jghali Fixed in Version => 1.5.0svn
2014-08-06 12:01 jghali Resolution open => fixed
2014-08-06 12:01 jghali Assigned To => jghali
2014-08-06 12:14 FirasH Note Added: 0033186
2014-08-06 12:14 FirasH Status resolved => closed