Bug 36661

Summary: FILEOPEN Improper support for fo:margin attribute in page style
Product: LibreOffice Reporter: Pierre <pinaraf>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: medium CC: sasha.libreoffice, vitriol_vitriol
Version: 3.3.2 release   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Forged document that shows this issue.

Description Pierre 2011-04-28 14:41:48 UTC
Created attachment 46143 [details]
Forged document that shows this issue.

Hi

It appears the fo:margin attribute for page styles is not fully supported in LibreOffice : when setting it, it is applied for top, bottom and left margin, but right margin stays at zero...
The attached document has been generated using LibreOffice with a really tiny patch to the styles.xml file...
I don't know how old this bug is, but imho it is quite serious since it affects compatibility with the OpenDocument specification...

Thanks
Comment 1 vitriol 2011-04-28 15:00:59 UTC
It looks very similar to a bug present in OpenOffice DEV300m106. The bug was fixed in masterfix for OOo 3.4 Beta (OOO340m0):

http://openoffice.org/bugzilla/show_bug.cgi?id=117696

I don't know if there is a relationship.
Comment 2 Pierre 2011-04-28 15:17:26 UTC
Hum, it's a bit like the opposite of that bug 117696 : they mention documents saved that are not properly read by older LO/OOo versions... And they "fixed" it by not saving using fo:margin any more I guess.
That's not really what I want, I only expect that attribute to be properly supported...
Comment 3 Elvis Stansvik 2011-04-28 21:49:21 UTC
I agree that is not the same bug as 117696. And I can reproduce this problem. I think it should be fixed. The fo:margin attribute should be respected on all sides.
Comment 4 Pierre 2011-05-04 15:37:48 UTC
Is there any chance for this bug to be fixed before LibreOffice 3.4 ?
It is quite serious, and it must not be that hard to fix, is it ?
Comment 5 Björn Michaelsen 2011-12-23 12:02:59 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 6 Florian Reisinger 2012-08-14 14:02:12 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 7 Florian Reisinger 2012-08-14 14:03:12 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 8 Florian Reisinger 2012-08-14 14:07:46 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 9 Florian Reisinger 2012-08-14 14:09:52 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 10 sasha.libreoffice 2012-08-31 10:49:50 UTC
in 3.6.1 works correctly. all 4 margins are 2 cm. WFM

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.