Bug 166624 - Impress export of SMIL 2.x animated SVG
Summary: Impress export of SMIL 2.x animated SVG
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.2.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Presentation-Export SVG-Save
  Show dependency treegraph
 
Reported: 2025-05-18 16:33 UTC by J22Gim
Modified: 2025-05-18 20:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Exported file as SVG (482.28 KB, image/svg+xml)
2025-05-18 16:37 UTC, J22Gim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J22Gim 2025-05-18 16:33:37 UTC
Description:
I created a simple animation in Impress and would like to use that animation in another software (or maybe just show it on my web browser). 
Since Impress has the option to export to SVG, I thought it might be able to export the presentation as an SVG animation.
But as far as I could try, it just exports the first slide, and the file throws an error when trying to open it in the browser.

Steps to Reproduce:
1. Create a simple interactive animation (see attached example)
2. Export as SVG
3. Open the SVG file on a web browser

Actual Results:
When opening the SVG file into a web browser, the animation does not work. Only the initial state of the slide is shown.
The file shows errors like "DelayEvent.fire: assertion isCharged failed. The presentation engine will be stopped."

Expected Results:
Since 
a) The slide has an animation
b) SVG format supports interactivity and animations
c) Nothing is said contradicting this in the documentation (1)

Then I would expect that the animation is exported as SVG animation, and that is would retain the effects added in the slide.

Regarding c): I understand that the fact that a given format is partially supported (in this case, SVG) doesn't necessarily mean that LO can export with all the target format capabilities. I'm just saying what I would expect without any previous knowledge, and I am mostly here trying to see if this is even possible.


[1] https://nextcloud.documentfoundation.org/s/sTfTQ2p6TBMQHRo


Reproducible: Always


User Profile Reset: Yes

Additional Info:

The SVG seems to have the motion coded in it. Maybe it is malformed? 

_____________
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 24; OS: Linux 6.8; UI render: default; VCL: qt5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:25.2.3-0ubuntu0.22.04.1~lo1
Calc: threaded
________________

Web browser tried: 
Chrome Version 136.0.7103.113 (Official Build) (64-bit)
Firefox 138.0.3 (64-bit)
Comment 1 J22Gim 2025-05-18 16:37:21 UTC
Created attachment 200850 [details]
Exported file as SVG

OK I was going to upload the original Impress File but the system doesn't let me (because it's 333MB). 
If you need it, here it is: test.odp

Link:
https://mega.nz/file/TOZkxQ4I#BJxDWDvFiW77GSiNoO7NoesB-bY84l4DFrpDA_1XDko
Comment 2 V Stuart Foote 2025-05-18 20:58:30 UTC
Looking at the current SMIL2.x multi-slide SVG export, a motion path is present as an animationMotion for the shape. Not obvious why the SVG is not rendering its animation.