Bug Hunting Session
Bug 104891 - PDF export of PPTX with all slides hidden returns error - improve message (workaround: Export hidden pages)
Summary: PDF export of PPTX with all slides hidden returns error - improve message (wo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2016-12-23 17:59 UTC by gfairbanks
Modified: 2019-10-25 09:49 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Error received when exporting (50.86 KB, image/png)
2016-12-23 17:59 UTC, gfairbanks
Details
Example pptx that exhibits the problem (29.44 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-12-23 18:03 UTC, gfairbanks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gfairbanks 2016-12-23 17:59:00 UTC
Created attachment 129904 [details]
Error received when exporting

I am attempting to export a Powerpoint PPTX file that has all of the slides hidden.
I get a "General input/output error" (screenshot attached).

I originally experienced this attempting to convert the PPTX to PDF using unoconv.
The error I received when doing that was:

Input file: /tmp/presentation.pptx
unoconv: UnoException during export phase:
Unable to store document to file:///tmp/presentation.pdf (ErrCode 3088)

If I add at least one non-hidden slide, or use the "-e ExportHiddenSlides=true" flag to unoconv, the export succeeds.

My use case for this is that I am converting uploaded PPTX files to PDF automatically, so I have no control over the content of the file and cannot simply unhide the slides.
Comment 1 gfairbanks 2016-12-23 18:03:52 UTC
Created attachment 129905 [details]
Example pptx that exhibits the problem

Attached an example PPTX file that exhibits the problem.
Comment 2 Xisco Faulí 2016-12-26 13:08:57 UTC
Confirmed in

- Version: 5.4.0.0.alpha0+
Build ID: 7a1add76d542e9929c1feab9e06949990e236616
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

- Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

but not in

- LibreOffice 3.5.0 
Build ID: d6cde02

- LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 3 QA Administrators 2017-12-27 03:25:20 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2019-03-16 20:50:19 UTC
still repro in

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 13a260f59e421f3e67845f8f2eb22b8f0f8fcaf0
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-11_02:46:09
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 5 Timur 2019-10-16 09:41:39 UTC
Version where behavior started should be correct before setting bibisectRequest.
No repro LO 3.4. because there was no separate option "Export hidden pages". 
Repro LO 3.5 and 3.6 and 6.4+.
This is a minor issue with the workaround. I'd rather call this enhancement, just to change general error message to an informative message. 
I wouldn't call this a regression since that's a new useful feature by Pierre-André Jacquod as written in https://wiki.documentfoundation.org/ReleaseNotes/3.5.