Description: pdf file generated by Impress cannot be open from windows. Error message in adobe acrobat: There was an error when processing a page. There was a problem reading this document (109) Steps to Reproduce: 1.Open libreoffice impress 2.Make some slides 3.Click export as pdf (default setting) 4.Open generated pdf in windows Actual Results: Cannot open pdf file Expected Results: pdf file generated by Impress can be opened from Windows OS. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 6.2.8.2 Build ID: 1:6.2.8~rc2-0ubuntu0.16.04.1 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Created attachment 155311 [details] sample of generated pdf from impress If I removed some pages on the slide, it can be opened from windows. Which pages I removed is random. It means, no certain page causing that problem.
I added sample documents
Not PDF, you need to attach Impress odp.
Created attachment 155437 [details] add odp file This is sample of odp file that generate pdf which can not be opened from windows.
I can open attachment 155311 [details] PDF (19 pages) in Windows 7 with Master PDF Editor, PDF-Xchange and Adobe Reader. Maybe you attached the wrong PDF. But I do repro in Windows with attachment 155437 [details] ODP, same the error when opening exported PDF with Adobe 2011 or Adobe 2019. Repro LO 6.1.0 and master 6.4+. So there's the bug. But document opens with Master PDF Editor, PDF-Xchange. So I change the title. No repro with LO 6.0 so I put regression. Bug 127217 and bug 127493 start from LO 6.3 in bug 113448, so not likely the same. Technically one can print to PDF so there's a workarund. But there's a number of bugs related to Adobe Reader, so they deserve to be looked at.
Yes. Unfortunately, most windows users uses adobe as pdf reader. First attached pdf file is also wrong. Used the second odp file to generate pdf.
Issue started with the following commit. Let's assume this isn't a regression, but certain part of the export code isn't compatible with PDF 1.5 (or an incompatibility in Adobe Reader, but I'm guessing the former). I also cut down the file to the problematic part, it seems that an embedded PDF is causing the problem. https://cgit.freedesktop.org/libreoffice/core/commit/?id=99ac4ee05b039166eedfe361fb985682fd92dd13 author Khaled Hosny <khaledhosny@eglug.org> 2018-04-24 09:57:00 +0200 committer Miklos Vajna <vmiklos@collabora.co.uk> 2018-04-27 15:41:42 +0200 Change default PDF version to 1.5
Created attachment 157596 [details] Minimal sample Note that this isn't the only embedded PDF from the presentation that causes a problem after export (and not all embedded PDFs cause an error in Adobe Reader), so a fix should be double-checked against the original.
*** This bug has been marked as a duplicate of bug 119880 ***
This got fixed sometimes after 7.4.0.3, and is now fine in LO 7.6.0.0.alpha0+ (12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae) / Windows. I'm assuming this isn't a duplicate in bug 119880.
Reverse bibisecting points to the following fixing commit. https://cgit.freedesktop.org/libreoffice/core/commit/?id=3f9e8ac6172f5b1dfd2869ee1c6aea4f24d3f480 author Dennis Francis <dennis.francis@collabora.com> 2022-10-18 16:14:37 +0530 committer Dennis Francis <dennis.francis@collabora.com> 2022-10-27 07:54:59 +0200 vcl: re-exporting broken pdfs -> empty pages