View Issue Details

IDProjectCategoryView StatusLast Update
0011232ScribusGeneralpublic2015-02-18 19:24
ReporterVladimir Savic Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version12.10
Product Version1.5.0svn 
Summary0011232: Importing Master pages from other document problems
DescriptionWhile continuing work on a book I came to doing second part of text. Following instructions from wiki, I've tried to do it in quasi-chapters fashion. But I've run into problem immediately.

Make one B5 page document of facing (double sided) pages type and leave everything as is by default in New document dialogue.

Scenarios I'm experiencing:
1) Once page appears, go to Edit->Master Pages... dialogue and hit import button. Browse to provided .sla file and choose Normal Left as desired page. If you hit import, scribus sometimes crashes.

2) More common scenario - Do everything as in scenario 1, but instead of crush you get:
a) a "Copy 0000001 of Normal Left" master page with correct margins
b) contents of imported page that appeared on "regular" Normal Left page, but at wrong position. Now you position it right, if you can!
Why copying page instead of overwriting with warning? If that's not acceptable for a reason, then at least put content at imported page.
TagsNo tags attached.
Patch

Relationships

related to 0011409 closedjghali crash while importing masterpage, with gdb backtrace 

Activities

Vladimir Savic

2012-12-04 16:59

reporter  

Master.sla (813,474 bytes)

Vladimir Savic

2012-12-04 18:07

reporter   ~0029321

After some investigation I believe I figured out where it crashes. Provided two sample files lucidly named Document-1.sla and Document-2.sla. :)

Open first one and from menu Pages->Import... choose second. Parameters are import page 1 of 2
import at end (checkbox)

Scribus will crash here with following bt:
#0 0x0000000000b4d219 in TransactionState::pushBack(UndoObject*, UndoState*) ()
0000001 0x0000000000b4d36b in UndoManager::action(UndoObject*, UndoState*, QPixmap*) ()
0000002 0x0000000000b4d6cf in UndoTransaction::commit() ()
0000003 0x00000000007b7a8a in PageItem::setMeshPointColor(int, int, QString, int, double, bool) ()
0000004 0x0000000000ae6804 in ScribusDoc::recalculateColorItem(PageItem*) ()
0000005 0x0000000000af6550 in QtConcurrent::MapKernel<QList<PageItem*>::iterator, QtConcurrent::FunctionWrapper1<void, PageItem*> >::runIteration(QList<PageItem*>::iterator, int, void*) ()
0000006 0x0000000000af65a7 in QtConcurrent::MapKernel<QList<PageItem*>::iterator, QtConcurrent::FunctionWrapper1<void, PageItem*> >::runIterations(QList<PageItem*>::iterator, int, int, void*) ()
0000007 0x0000000000b0315f in QtConcurrent::IterateKernel<QList<PageItem*>::iterator, void>::forThreadFunction() ()
0000008 0x00007ffff4c12915 in QtConcurrent::ThreadEngineBase::run() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000009 0x00007ffff4c1445d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000010 0x00007ffff4c20aec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000011 0x00007ffff2550e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000012 0x00007ffff2859cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000013 0x0000000000000000 in ?? ()

Vladimir Savic

2012-12-04 18:07

reporter  

Document-1.sla (21,626 bytes)

Vladimir Savic

2012-12-04 18:07

reporter  

Document-2.sla (21,626 bytes)

Vladimir Savic

2012-12-29 16:07

reporter   ~0029515

Can someone, please, take a look at this one...

fschmid

2012-12-29 20:38

administrator   ~0029517

Please try with current svn from today, as there the use of QtConcurrent is disabled now due to several similar problems.

Vladimir Savic

2012-12-29 20:56

reporter   ~0029518

OK.
1) Crash is fixed! Thanks.
2) Everything else is still a mess. :)

P.S. One other thing I've just noticed: If you close a document while editing Master Pages (writing it this way since dialog has to be opened), you can easily end up being unable to do anything in Scribus. In file menu there is only Preferences menu item selectable. Franz, I guess it has something to do with your recent work on exiting special editing modes.

Vladimir Savic

2013-02-10 16:43

reporter   ~0029825

Can someone please, please take a look at this one. It really drives me crazy with this 600pages long book I'm dealing these days.

Kunda

2014-07-05 12:21

updater   ~0032491

Hi Vladimir, does this issue still persist the latest svn (1.5svn r19309)
BTW, Scribus in it's latest iteration won't close when editing a Master Page. Instead it will just exit the 'Edit Master Page' mode. It should throw a dialog saying so as an FYI.

Kunda

2014-07-21 23:06

updater   ~0032898

Vladimir, please respond

Vladimir Savic

2014-07-21 23:48

reporter   ~0032900

I'll test it as soon as possible. Sorry, but I can't pull recent revisions because I'm lacking internet connection these days. Give me a few more days, please. If you can follow given steps, reproduce described issue and conform the problem is gone, feel free to close this ticket. Thanks in advance.

Kunda

2014-07-21 23:50

updater   ~0032901

No problem. Just wanted to see if you were there. Please report when you can. Thanks

FirasH

2014-07-21 23:51

developer   ~0032902

Vladimir, no problem. test when you can or have time :)

Issue History

Date Modified Username Field Change
2012-12-04 16:59 Vladimir Savic New Issue
2012-12-04 16:59 Vladimir Savic File Added: Master.sla
2012-12-04 18:07 Vladimir Savic Note Added: 0029321
2012-12-04 18:07 Vladimir Savic File Added: Document-1.sla
2012-12-04 18:07 Vladimir Savic File Added: Document-2.sla
2012-12-29 16:07 Vladimir Savic Note Added: 0029515
2012-12-29 20:38 fschmid Note Added: 0029517
2012-12-29 20:56 Vladimir Savic Note Added: 0029518
2013-02-10 16:43 Vladimir Savic Note Added: 0029825
2014-07-05 12:21 Kunda Note Added: 0032491
2014-07-05 12:21 Kunda Status new => feedback
2014-07-21 23:06 Kunda Note Added: 0032898
2014-07-21 23:48 Vladimir Savic Note Added: 0032900
2014-07-21 23:48 Vladimir Savic Status feedback => new
2014-07-21 23:50 Kunda Note Added: 0032901
2014-07-21 23:51 FirasH Note Added: 0032902
2014-07-22 00:42 Kunda Priority high => normal
2014-07-22 00:42 Kunda Status new => feedback
2014-07-22 05:49 Kunda Relationship added related to 0011409
2015-02-18 19:24 Kunda Status feedback => closed
2015-02-18 19:24 Kunda Resolution open => fixed