Description: We are trying to convert a odt file to pdf, using the command line: libreoffice --convert-to pdf:writer_pdf_Export --outdir <convertedfile> <originalfile> Executing this command line in Windows environment it's OK (even executing directly at a server or exporting to pdf using desktop application). In Linux environment a blank page is inserted always before the image. The original file and the converted ones are attached at this bug. JBOSS version: 6.4.7.GA SO: 7.5.7.Final-redhat-3 Hardware: BLADE HP BL460C G8_3 - 270.0 GHZ Best regards, Daniel Steps to Reproduce: 1.libreoffice --convert-to pdf:writer_pdf_Export --outdir <convertedfile> <originalfile> Actual Results: A file with a blank page inserted. Expected Results: A file with no blank page inserted. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Created attachment 141262 [details] Original ODT Document
Created attachment 141263 [details] Converted Windows Environment
Created attachment 141264 [details] Converted Linux Environment
*** Bug 116923 has been marked as a duplicate of this bug. ***
confirm Version: 6.1.0.0.alpha0+ Build ID: 77e2d29bce92639498324814be56656f85a0f0fd CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; Locale: nl-BE (en_US.UTF-8); Calc: group
Yes, does not happen with GUI. Arch Linux 64-bit Version: 6.1.0.0.alpha0+ Build ID: c8c74a0b4ca6f3a3619f423b6548c80c52392ae0 CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on April 15th 2018
** Please read this message in its entirety before responding ** 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I confirm the issue. I would add: exporting to PDF using GUI, everything is perfect! The issue appears only using the command line. I attach the two outputs for comparing purpose. Version: 6.2.2.2 Build ID: 6.2.2-4 CPU threads: 4; OS: Linux 5.0; UI render: default; VCL: gtk3; Locale: it-IT (en_GB.UTF-8); UI-Language: en-GB Calc: threaded
Created attachment 150870 [details] GUI pdf
Created attachment 150871 [details] command line PDF
*** Bug 127489 has been marked as a duplicate of this bug. ***
Bibisect in LO 4.4 for original issue, single commit: commit adb62f36970aa2b89b7cbc9d034632495cf8d565 Date: Sat Mar 14 23:23:02 2015 +0800 source-hash-133d6d8d4dec497276c3a9b0ba6761cffd322f81 previous source-hash-7dd5f9308895644ae6ece56253c892046cc6ed5e commit 133d6d8d4dec497276c3a9b0ba6761cffd322f81 Author: Oliver-Rainer Wittmann <orw@apache.org> AuthorDate: Tue Jul 15 12:15:37 2014 +0000 Commit: Caolán McNamara <caolanm@redhat.com> CommitDate: Wed Jul 16 09:01:02 2014 +0100 Resolves: #i121443# register text frames and graphics...on the correct page frame - trigger formatting of selected object when moving view to the selected object or when graphical horizontal line has been inserted. (cherry picked from commit 82fafc47de0c59c783c5df596c976a429ff8a21d)
I forgot to check commit in other bugs, but Telesto did that and we have 2 more bugs from the same commit, bug 133975 and bug 135225. So I raise importance.
@Michael, As there are not many people around able to touch layout code.. and this being they fourth bug point to this commit, you maybe interested. Everything about timing here, I think.. Jan Marek did trigger they issue once in a while working on timers (bug 133975)
Issue fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=b9ef71476fd70bc13f50ebe80390e0730d1b7afb Closing as duplicate of bug 134298 *** This bug has been marked as a duplicate of bug 134298 ***