Mantis Issue Tracking for Scribus
· Hosting provided by / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011232ScribusGeneralpublic2012-12-04 17:592015-02-18 20:24
ReporterVladimir Savic 
Assigned To 
PlatformLinuxOSUbuntuOS Version12.10
Product Version1.5.0svn 
Target VersionFixed in Version 
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.
Attached Files? file icon Master.sla [^] (813,474 bytes) 2012-12-04 17:59
? file icon Document-1.sla [^] (21,626 bytes) 2012-12-04 19:07
? file icon Document-2.sla [^] (21,626 bytes) 2012-12-04 19:07

- Relationships
related to 0011409resolvedjghali crash while importing masterpage, with gdb backtrace 

-  Notes
Vladimir Savic (reporter)
2012-12-04 19:07

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/
0000009 0x00007ffff4c1445d in ?? () from /usr/lib/x86_64-linux-gnu/
0000010 0x00007ffff4c20aec in ?? () from /usr/lib/x86_64-linux-gnu/
0000011 0x00007ffff2550e9a in start_thread () from /lib/x86_64-linux-gnu/
0000012 0x00007ffff2859cbd in clone () from /lib/x86_64-linux-gnu/
0000013 0x0000000000000000 in ?? ()
Vladimir Savic (reporter)
2012-12-29 17:07

Can someone, please, take a look at this one...
fschmid (administrator)
2012-12-29 21:38

Please try with current svn from today, as there the use of QtConcurrent is disabled now due to several similar problems.
Vladimir Savic (reporter)
2012-12-29 21:56

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 (reporter)
2013-02-10 17:43

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 (manager)
2014-07-05 14:21

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 (manager)
2014-07-22 01:06

Vladimir, please respond
Vladimir Savic (reporter)
2014-07-22 01:48

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 (manager)
2014-07-22 01:50

No problem. Just wanted to see if you were there. Please report when you can. Thanks
FirasH (developer)
2014-07-22 01:51

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

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

Copyright © 2000 - 2015 MantisBT Team
Powered by Mantis Bugtracker