Created attachment 163127 [details]
A ODP file containing a FontWork object
I have several presentations which cannot be displayed in full screen mode (Firefox 78 reports an XML error on the generated slideshow.svg which has 0 bytes size) in Nextcloud Collobora Online. I experimented a bit and it seems to boil down to Fotwork objects.
Steps to reproduce:
1. Upload an ODP presentation which contains a fontwork object (e.g., the attached presentation)
2. Open it with Collabora (the fontwork object is visible here)
3. Click on Menu Slide and select Full Screen Presentation
4. See an error in Firefox, Firefox complains that the file has not valid XML root element, indeed the slideshow.svg has a size of 0 bytes
I use Nextcloud 18.0.6 with the Collobora Online (richdocuments app) 3.7.3 and collaboraoffice6.2 (18.104.22.168-18) on the server side (Debian 9).
On the syslog I see the following error:
Jul 16 17:02:23 srv2 loolwsd: wsd-01250-02852 2020-07-16 15:02:23.198842 [ websrv_poll ] ERR Download file [/opt/lool/child-roots/r1BRWJSB8svGjwMh/user/docs/EqkZpwJ75QfUO1of5dF5NaNfH1jWNl3ncZNXCbUX3Oy7IzJJ45YWSqPJkY9HgjRy/slideshow.svg] not found.| wsd/LOOLWSD.cpp:2934
Cross-ref: This issue was reported for the Nextcloud richdocuments app (<https://github.com/nextcloud/richdocuments/issues/1084>) before, but I was send here.
The problem is with LibreOffice's SVG export, when trying to do a File -> Export in Impress, and setting SVG output format, it gives "General input/ouput error," which explains the 0-byte result.
Checked with LO 22.214.171.124.alpha0+ (fa844c15233f108a0e9b0b2e8c9757c1aa088a4b) / Ubuntu.
This was actually a regression from the following commit:
author Miklos Vajna <email@example.com> 2020-02-27 09:34:30 +0100
committer Miklos Vajna <firstname.lastname@example.org> 2020-02-27 10:33:24 +0100
"sw SVG export: try to reuse original bitmap data for JPG and PNG bitmaps"
And got fixed by:
author Miklos Vajna <email@example.com> 2020-09-07 17:00:44 +0200
committer Miklos Vajna <firstname.lastname@example.org> 2020-09-07 18:59:05 +0200
"SVG export: fix failure on trying to read graphic of a 3D shape"
It's also fixed in the current CODE/Collabora Online.
Setting to Verified based on comment 2