View Issue Details

IDProjectCategoryView StatusLast Update
0002701ScribusScripterpublic2005-11-02 12:25
ReporterplinnellAssigned Tosubik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.2cvs 
Fixed in Version1.3.2cvs 
Summary0002701: Running Font sampler results in 1st page in right hand side of work area
DescriptionRun Font Sampler
First page is offset as a right side page.
1.2.4cvs works as expected.
TagsNo tags attached.
Patch

Relationships

related to 0002630 closedsubik Constant FIRSTPAGERIGHT/FIRSTPAGELEFT works in the wrong direction 
child of 0003813 acknowledged Metabug: Scripter 

Activities

sjc

2005-10-09 20:53

developer   ~0006998

There is nothing i am aware of that allows positioning on the work area from the scripter.

As far as I can tell the script is not at fault. So something strange is presumably happening in Scribus itself.

plinnell

2005-10-09 20:55

viewer   ~0006999

Reminder sent to: subik

Petr, Any clues ?

plinnell

2005-10-09 21:56

viewer   ~0007005

several lines of this in the console:

QComboBox::setCurrentItem: (firstPage) Index 1 out of range
QComboBox::setCurrentItem: (firstPage) Index 1 out of range
QComboBox::setCurrentItem: (firstPage) Index 1 out of range

subik

2005-10-10 19:23

manager   ~0007012

I'm sure it's a bug related to the new "page order" system. Try:
newDoc(PAPER_A4, (10, 10, 10, 10), PORTRAIT, 1, UNIT_POINTS, NOFACINGPAGES, FIRSTPAGERIGHT)
newPage(-1)
newPage(-1)
newPage(-1)

vs.:
newDoc(PAPER_A4, (10, 10, 10, 10), PORTRAIT, 1, UNIT_POINTS, NOFACINGPAGES, FIRSTPAGELEFT)
newPage(-1)
newPage(-1)
newPage(-1)

I'll try to fix ASAP

subik

2005-10-16 18:21

manager   ~0007118

sjc: it's in 1.3 cvs. Can you test it and comment, please?

fontsampler works with following code very well:
# 2-pages layout
scribus.newDocument(paper.size, paper.margins, scribus.PORTRAIT, 1, scribus.UNIT_POINTS, scribus.PAGE_2, 0)

# 1-page layout
scribus.newDocument(paper.size, paper.margins, scribus.PORTRAIT, 1, scribus.UNIT_POINTS, scribus.PAGE_1, 0)

see help(newDocumen) for reference.

I'll backport it into 1.2 after your reaction ;)

subik

2005-10-18 07:52

manager   ~0007127

backported into 1.2.x.cvs

plinnell

2005-10-28 07:59

viewer   ~0007244

Seems fixed here. Tested both 0.7.5 and 0.8pre1.

plinnell

2005-11-02 00:12

viewer   ~0007305

Tested this on both Linux and Win32. Seems fine now.

Issue History

Date Modified Username Field Change
2005-10-09 20:41 plinnell New Issue
2005-10-09 20:53 sjc Note Added: 0006998
2005-10-09 20:55 plinnell Note Added: 0006999
2005-10-09 21:56 plinnell Note Added: 0007005
2005-10-10 19:23 subik Note Added: 0007012
2005-10-10 19:24 subik Relationship added related to 0002630
2005-10-11 08:25 subik Status new => assigned
2005-10-11 08:25 subik Assigned To => subik
2005-10-16 18:21 subik Note Added: 0007118
2005-10-18 07:52 subik Note Added: 0007127
2005-10-28 07:59 plinnell Note Added: 0007244
2005-11-02 00:12 plinnell Status assigned => resolved
2005-11-02 00:12 plinnell Fixed in Version => 1.3.2cvs
2005-11-02 00:12 plinnell Resolution open => fixed
2005-11-02 00:12 plinnell Note Added: 0007305
2005-11-02 12:25 plinnell Status resolved => closed
2006-05-13 21:24 christoph_s Relationship added child of 0003813