Bug 298510

Summary: page layout unit not retained
Product: [Applications] calligrawords Reporter: Filipe Azevedo <pasnox>
Component: usabilityAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: inge, irina, marcus.gama
Priority: NOR    
Version: 2.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.5
Sentry Crash Report:
Attachments: 4 pages of text with margins that ought to be 25mm
4 pages of text with margins that ought to be 25mm

Description Filipe Azevedo 2012-04-20 22:11:07 UTC
When editing the page layout settings.
If i set unit to centimeters then if i close / reopen the application the ruler and page layout settings are resetted to pt unit.

Reproducible: Always

Steps to Reproduce:
1. Show ruler, set page layout unit to centimeter
2. save and close the document
3. re open the document

Actual Results:  
ruler and page layout resetted to point ( pt )

Expected Results:  
ruler and page layout unit still centimeter
Comment 1 Marcus Gama 2012-04-24 23:21:37 UTC
I confirmed this bug in my Calligra Words 2.4. I should set the unite every time I started the program.
Comment 2 Myriam Schweingruber 2012-08-15 07:57:16 UTC
I can't reproduce this with Calligra Word 2.5, so I assume this was fixed.
Comment 3 Irina Rempt 2012-08-21 20:10:50 UTC
Created attachment 73369 [details]
4 pages of text with margins that ought to be 25mm
Comment 4 Irina Rempt 2012-08-21 20:12:05 UTC
Comment on attachment 73369 [details]
4 pages of text with margins that ought to be 25mm

My 2.5 does go back to points when I've set it to millimeters. Also makes left and right margins a small negative value instead of the 25mm I set on it.
Comment 5 Inge Wallin 2012-08-22 08:38:31 UTC
The attached document already has a negative margin.  Could you attach a correct document so I can see if the error is in saving or loading?
Comment 6 Irina Rempt 2012-08-22 10:08:18 UTC
Created attachment 73380 [details]
4 pages of text with margins that ought to be 25mm

margintest.odt, made from blank-document template, increased margins to 25mm (or perhaps 30, don't' remember) before saving.
Comment 7 Irina Rempt 2012-08-22 10:08:55 UTC
(In reply to comment #5)
> The attached document already has a negative margin.  Could you attach a
> correct document so I can see if the error is in saving or loading?

It didn't have a negative margin when I saved it!