Documents with mirrored page layout are displayed and exported with “right and left” page layout. Test: set mirrored page layout in Format->Page, and change the left margin to eg. 5cm. There is no difference in LibreOffice 4. (LibreOffice 3.6 works well). Test document: http://www.numbertext.org/logo/logofuzet.odt.
Maybe a related problem: Bug 59270
Maybe a blocker.
The option mirrored layout is already set on the document, are we supposed to change it to something else?
(In reply to comment #3) > The option mirrored layout is already set on the document, are we supposed > to change it to something else? No, maybe it is related to the problem. THe test docoument is mirrored in older LibreOffice versions, but it has right-left layout in LibreOffice 4.
I am unable to confirm this on 4.1 master (Build ID: 8bab53a19828b888ca689dafaf98aa3ba82228a) When I open the document it is already set to mirrored. When I change the margins I also see the difference. I converted 5cm to ~ 1.97 inches.
I have crash with this document in 4.0.x and 4.1.x... but not in 3.6.5.0+
Created attachment 73124 [details] Screenshot in LibO 4.0 beta 2 (as in RC1) also in Version 4.0.0.1 (Build ID: 527dba6f6e0cfbbc71bd6e7b88a52699bb48799)
Created attachment 73125 [details] Test file with mirrored page layout
I have added a small test file and a screenshot.
(In reply to comment #6) > I have crash with this document in 4.0.x and 4.1.x... but not in 3.6.5.0+ Ruslan: I had edited it with 4.0 beta 2 on Linux, but I had to change to 3.6 because of the mirroring problem. Could you specify your platform or send a crash log? Thanks.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8d301533f0c7764c94f8ad72fced2ce9d9de7585 fdo#59428: SwPageDesc::GetUseOn(): mask PD_FIRSTSHARE. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@Michael: Because of the patch I assign you to this bug and set bug status to ASSIGNED.
regression caused by new FirstPage feature; there was some comparison == PD_MIRROR (0x07) but the value was 0x107 (had the PD_FIRSTSHARE) bit set so the comparison failed and nothing was mirrored.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c41675a7d13dac64540ad420f905e80dbcbc023d&h=libreoffice-4-0 fdo#59428: SwPageDesc::GetUseOn(): mask PD_FIRSTSHARE. It will be available in LibreOffice 4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Recent master has got a strong behavior: first mirrored page doesn’t reflect the margin settings, despite of the same default page style. Test: 1. open a new text document 2. set mirrored page style 3. modify margin settings -> it is no effect for the first page (only for its ruler, see the attached screenshot)
Created attachment 73504 [details] good ruler, bad page margins of the first page
yay, comment #15 is a regression from my fix...
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=da1398c503784086ecd0a10dd8e809069d649653 fdo#59428: SwDoc::ChgPageDesc: always copy to first-pagedesc The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
after the first fix it takes the right branch but that branch was still missing the copying of attributes to the first-page. hope it's really fixed now.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f5dc652c6d3157d41d20dc1baf3cfc92907dc6b0&h=libreoffice-4-0 fdo#59428: SwDoc::ChgPageDesc: always copy to first-pagedesc It will be available in LibreOffice 4.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 61113 has been marked as a duplicate of this bug. ***
Hello there After some hard testing, I decided to reopen this bug, specially because he have the most accurate name of the problem. But if there is a better description, fell free to correct please (specially you Michael Stahl). This bug appear in version 4.1.2.3 and some versions earlier (cant figure out which one exactly, but probably 4.1.2.x and/or 4.1.x.x). Does not affect 4.0.3.3. Tested on: Windows 7 Ultimate + intel Mac OS X 10.8.5 + intel To test the bug is extremely simple, just open any of the doc here https://wiki.documentfoundation.org/Documentation/Publications and you can see that the Footer is always like the left page. The right page should have the page title aligned to the right and number to the left (inverted in relation to the left). Any of my documents (and other users) configured with mirrored page layout have this problem, in both header and footer.
I am experiencing the same bug in v4.1.4.2 and it was there is earlier 4.1 releases. I open any of the LO user guide files (individual chapters or full books) and make my choices on the footers tab of the page styles, it works fine as long as the document remains open, but the settings are not retained when the file is saved, closed, and reopened. The user guide documents use custom page styles. In the past we had some problems with custom styles that did not occur with the built in styles. I have not tested this to see if the problem occurs in the built in styles as well as our custom styles. I am using LO on Mac OS X 10.9.
guess i deserved this re-opening (comment #22 and comment #23) since i introduced the other bug :( but it's a different bug from this and is tracked as bug 70232.
I do not agree that this issue is closed. The bug is still present and it is a stop-factor to use LO newer, than 4.0.5. See my comments to Bug 70232. Kind regards.
This bug is still present in 4.2.5 (tested on ubuntu 14.04 vanilla deb from libreoffice.org). This must be in a list of most annoying bugs and marked as high blocker. 4.2.5 is not ready for enterprise deployments because of this bug.
this bug was fixed long ago, please file a new bug if you experience superficially similar symptoms
according to comment 27, verified, hence status change.