Bug 499670 - SVG Output not working OK
Summary: SVG Output not working OK
Status: REPORTED
Alias: None
Product: glaxnimate
Classification: Applications
Component: general (show other bugs)
Version: 0.5.80
Platform: Appimage Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Mattia Basaglia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-08 03:49 UTC by francaco
Modified: 2025-02-08 03:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Glaxnimate animation of a bee (52 bytes, text/plain)
2025-02-08 03:54 UTC, francaco
Details
SVG Output (374.34 KB, image/svg+xml)
2025-02-08 03:55 UTC, francaco
Details

Note You need to log in before you can comment on or make changes to this bug.
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