Bug 499670

Summary: SVG Output not working OK
Product: [Applications] glaxnimate Reporter: francaco <franco.pv>
Component: file formatsAssignee: Mattia Basaglia <glax>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.5.80   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Glaxnimate animation of a bee
SVG Output

Description francaco 2025-02-08 03:49:40 UTC
SUMMARY
The animation is exported as intended in other formats as Lottie or video, but SVG export results in a mess. In version 0.5.8 svg export improved (rotations are working now, unlike the previous version), but there are still some issues:
-Clip masks that are supposed to be transparent "holes" in a shape are exported as a fill shape with opaque color.
-Different groups of objects end up in different positions than that of the original file, out of the canvas, appearing scattered up only when modifying the viewbox in a browser.

STEPS TO REPRODUCE
1. Make an animation that contains groups and subgroups, rotations, position changes and "holes" inside a shape (clipping mask), or use the attached file.
2. Export it as SVG.
3. Open in a web browser

OBSERVED RESULT
The exported animation is different than how it was created and intended (it doesn'r show some elements due to them being out of the canvas.

EXPECTED RESULT
The exported animation should be the same as inside Glaxnimate.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 KDE Spin
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Using the Appimage
Comment 1 francaco 2025-02-08 03:54:05 UTC
Created attachment 178062 [details]
Glaxnimate animation of a bee
Comment 2 francaco 2025-02-08 03:55:23 UTC
Created attachment 178063 [details]
SVG Output