View Issue Details

IDProjectCategoryView StatusLast Update
0011833ScribusGeneralpublic2014-11-30 11:16
Reporterowencook Assigned Tocbradney  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
OSLinuxOS VersionSUSE-12.3 
Product Version1.4.3.svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0011833: [PATCH] Opening a new document, Foolscap, Portrait produces Landscape and vice versa
DescriptionOpening a new document, Foolscap, Portrait produces Landscape and vice versa
Steps To ReproduceFile->New->Select Foolscap and Portrait
Additional InformationAt revision 18588.
TagsNo tags attached.
Patch

Relationships

related to 0012837 closedjghali Backport 0011833 fix to 1.4.5.svn 

Activities

owencook

2013-11-10 09:25

reporter  

Foolscap_Portrait.png (27,575 bytes)   
Foolscap_Portrait.png (27,575 bytes)   

owencook

2013-11-11 02:39

reporter   ~0030836

Same happened with Quarto.

By swapping the first two entries in pagesize.cpp (lines 196 and 197) it will produce the correct result.

ie, change to
196: double impWidths[]={8.0,8.0 etc
197: double impHeights[]={10.0,13.0 etc

owencook

2014-07-10 05:32

reporter  

scribus.patch (1,233 bytes)   
diff -rupN scribus/pagesize.cpp scribus-new/pagesize.cpp
--- scribus/pagesize.cpp	2014-03-16 18:20:48.547497844 +1100
+++ scribus-new/pagesize.cpp	2014-07-10 15:23:20.561763700 +1000
@@ -193,8 +193,8 @@ void PageSize::generateSizeList()
 	
 	//Imperial
 	//http://en.wikipedia.org/wiki/Paper_sizes
-	double impWidths[]={10.0,13.0,8.5,8.0,8.5,11.0,7.25,15.5,15.0,16.5,17.5,18.0,20.0,23.0,23.5,35.0,5.5,8.5,11.0,17.0,22.0,34.0};
-	double impHeights[]={8.0,8.0,11.0,10.5,14.0,17.0,10.5,19.25,20.0,21.0,22.5,23.0,25.0,28.0,35.0,45.0,8.5,11.0,17.0,22.0,34.0,44.0};
+	double impWidths[]={8.0,8.0,8.5,8.0,8.5,11.0,7.25,15.5,15.0,16.5,17.5,18.0,20.0,23.0,23.5,35.0,5.5,8.5,11.0,17.0,22.0,34.0};
+	double impHeights[]={10.0,13.0,11.0,10.5,14.0,17.0,10.5,19.25,20.0,21.0,22.5,23.0,25.0,28.0,35.0,45.0,8.5,11.0,17.0,22.0,34.0,44.0};
 	QString impNames[]={"Quarto","Foolscap","Letter","Govt. Letter","Legal","Ledger","Executive","Post","Crown","Large Post","Demy","Medium","Royal","Elephant","Double Demy","Quad Demy","STMT","A","B","C","D","E"};
 	QString impTrNames[]={QObject::tr("Quarto"), QObject::tr("Foolscap"), QObject::tr("Letter"),
 		QObject::tr("Govt. Letter"), QObject::tr("Legal"), QObject::tr("Ledger"), QObject::tr("Executive"),
scribus.patch (1,233 bytes)   

owencook

2014-07-10 05:33

reporter   ~0032654

Patch to be run inside the scribus directory to fix this problem has been uploaded

cbradney

2014-07-13 06:28

administrator   ~0032712

Thanks Owen.

Issue History

Date Modified Username Field Change
2013-11-10 09:25 owencook New Issue
2013-11-10 09:25 owencook File Added: Foolscap_Portrait.png
2013-11-11 02:39 owencook Note Added: 0030836
2014-07-10 05:32 owencook File Added: scribus.patch
2014-07-10 05:33 owencook Note Added: 0032654
2014-07-10 12:17 Kunda Target Version => 1.5.1
2014-07-10 12:17 Kunda Summary Opening a new document, Foolscap, Portrait produces Landscape and vice versa => [PATCH] Opening a new document, Foolscap, Portrait produces Landscape and vice versa
2014-07-10 12:17 Kunda Status new => confirmed
2014-07-13 06:28 cbradney Note Added: 0032712
2014-07-13 06:28 cbradney Status confirmed => resolved
2014-07-13 06:28 cbradney Fixed in Version => 1.5.0svn
2014-07-13 06:28 cbradney Resolution open => fixed
2014-07-13 06:28 cbradney Assigned To => cbradney
2014-07-13 06:28 cbradney Target Version 1.5.1 => 1.5.0
2014-07-16 22:44 cbradney Status resolved => closed
2014-11-30 11:16 FirasH Relationship added related to 0012837