View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006237 | Scribus | General | public | 2007-09-19 19:40 | 2007-12-26 17:02 |
Reporter | christoph_s | Assigned To | jghali | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86 | OS | Linux | OS Version | SuSE 10.2 |
Product Version | 1.3.5svn | ||||
Target Version | 1.3.5 | Fixed in Version | 1.3.5svn | ||
Summary | 0006237: Scaling a selection of several objects triggers crash | ||||
Description | If I select more than one object and scale the objects proportionally, Scribus crashes when the scaling operation crosses the upper left corner. | ||||
Steps To Reproduce | - create two text frames - select them both - resize the selection a first time - resize the selection a second time - crash | ||||
Additional Information | ScribusView: changed region: QRect(798,322 238x235) fill Buffer: QRect(0,0 1243x870) special: false Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1229867312 (LWP 7678)] 0xb6f3a54d in __dynamic_cast () from /usr/lib/libstdc++.so.6 (gdb) bt #0 0xb6f3a54d in __dynamic_cast () from /usr/lib/libstdc++.so.6 0000001 0x088252bf in MassObservable<QRect>::updateNow (this=0x94eddb8, what=0x98e5168) at /home/christoph/scribus135/trunk/Scribus/scribus/observable.h:226 0000002 0x089eb5e3 in UpdateManager::setUpdatesEnabled (this=0x94edd8c, val=true) at /home/christoph/scribus135/trunk/Scribus/scribus/updatemanager.cpp:31 0000003 0x087efbb9 in ScribusDoc::scaleGroup (this=0x94ed4e0, scx=1.4277456647398843, scy=1.4273653309200869, scaleText=false, customSelection=0x94d3320) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusdoc.cpp:9307 0000004 0x08834c3d in ScribusView::scaleGroup (this=0x94fa558, scx=1.4277456647398843, scy=1.4273653309200869, scaleText=false, customSelection=0x0) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:1491 0000005 0x082ed617 in LegacyMode::mouseReleaseEvent (this=0x981c158, m=0xbfaccb10) at /home/christoph/scribus135/trunk/Scribus/scribus/canvasmode_legacy.cpp:2594 0000006 0x08826d20 in ScribusView::eventFilter (this=0x94fa558, obj=0x972bb78, event=0xbfaccb10) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:4928 0000007 0xb7710dc1 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 0000008 0xb7717117 in QApplication::notify () from /usr/lib/libQtGui.so.4 ---Type <return> to continue, or q <return> to quit--- 0000009 0xb727c6cb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 0000010 0xb77667f6 in QETWidget::translateMouseEvent () from /usr/lib/libQtGui.so.4 0000011 0xb7765f13 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 0000012 0xb7787c35 in QEventDispatcherX11::processEvents () from /usr/lib/libQtGui.so.4 0000013 0xb727bc08 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 0000014 0xb727bd1c in QEventLoop::exec () from /usr/lib/libQtCore.so.4 0000015 0xb727e398 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 0000016 0xb7710527 in QApplication::exec () from /usr/lib/libQtGui.so.4 0000017 0x084ab106 in mainApp (argc=1, argv=0xbfacd114) at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:76 0000018 0x084ab16a in main (argc=1407551829, argv=0x8b54ec83) at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:52 | ||||
Tags | No tags attached. | ||||
Patch | |||||
child of | 0005693 | closed | 1.3.5 bug collection (prior to roadmap) |
|
It's not clear from your description if the objects are grouped or just selected at the same time. Either way, I can't repeat this in 1.3.4 on linux. |
|
This is a bug report for 1.3.5svn, and it's probably related to the Qt4 port. |
|
Proposed patch: Index: E:/Scribus For Windows/scribus-1.3.x-svn/Scribus/scribus/updatemanager.cpp =================================================================== --- E:/Scribus For Windows/scribus-1.3.x-svn/Scribus/scribus/updatemanager.cpp (revision 10689) +++ E:/Scribus For Windows/scribus-1.3.x-svn/Scribus/scribus/updatemanager.cpp (working copy) @@ -30,6 +30,7 @@ foreach(PendingUpdate pair, m_pending) { pair.first->updateNow(pair.second); } + m_pending.clear(); } } } |
|
Tested, fixed. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-09-19 19:40 | christoph_s | New Issue | |
2007-09-19 20:33 | cbradney | Relationship added | child of 0005693 |
2007-09-22 00:38 | pbhj | Note Added: 0017343 | |
2007-09-22 00:43 | christoph_s | Note Added: 0017345 | |
2007-09-22 23:36 | jghali | Summary | Scaling a group of objects triggers crash => Scaling a selection of several objects triggers crash |
2007-09-22 23:36 | jghali | Steps to Reproduce Updated | |
2007-09-22 23:37 | jghali | Status | new => confirmed |
2007-09-23 00:14 | jghali | Status | confirmed => assigned |
2007-09-23 00:14 | jghali | Assigned To | => avox |
2007-09-23 00:15 | jghali | Note Added: 0017361 | |
2007-09-23 00:46 | jghali | Assigned To | avox => jghali |
2007-09-23 00:46 | jghali | Status | assigned => resolved |
2007-09-23 00:46 | jghali | Fixed in Version | => 1.3.5svn |
2007-09-23 00:46 | jghali | Resolution | open => fixed |
2007-09-23 22:14 | christoph_s | Status | resolved => closed |
2007-09-23 22:14 | christoph_s | Note Added: 0017383 | |
2007-12-20 22:52 | cbradney | Target Version | => 1.3.5svn |
2007-12-26 17:02 | cbradney | Target Version | 1.3.5svn => 1.3.5 |