Created attachment 185756 [details] Writer-exported PDF with wrong margins Consider the attached PDF, exported from Writer. It has A4 paper size, one RTL paragraph (with LTR text), and a horizontal line between the text boundaries. Its margins are 2 cm on each side. However, when we open the document in Draw, we get margins of: From left: 1.90 cm From right: 1.00 cm From top: 2.00 cm From bottom: 4.00 cm which is both wrong and nonsensical. The content is placed reasonably, however - it's just at an offset from the right margin. Seen with: Version: 7.5.0.3 (X86_64) / LibreOffice Community Build ID: c21113d003cd3efa8c53188764377a8272d9d6de CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US
Note: Not seeing that behavior using the Writer PDF import filter.
Created attachment 185757 [details] The original Writer document
Created attachment 190851 [details] PDF export with LTR Hmmm, I don't think RTL is the issue. If I export the same file, aligning the text to LTR, the margins are the same as the RTL file. It might have to do with the horizontal bar in the document. I get the similar (if not worse) results with a simple rectangle shape created from Writer. I will attach sample files shortly.
Created attachment 190852 [details] original writer file with rectangle shape Steps: 1. Open Writer 2. Insert rectangle shape 3. Export as PDF 4. Open file created in step 3 in Draw Result: margins in Draw do not match the margins from Writer.
Created attachment 190853 [details] rectangle exported pdf
It's the same result in the oldest of Linux 43all bibisect repo. I should ask about this in the dev chat.
Dear Eyal Rozenberg, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug still manifests with: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d2def868cb3ac5a7e538a911e83d7d907a2ec794 CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US using the reproduction instructions in comment 4.