Bug 492689 - SVG Output screws up
Summary: SVG Output screws up
Status: CONFIRMED
Alias: None
Product: glaxnimate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR minor (vote)
Target Milestone: ---
Assignee: Mattia Basaglia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-05 18:42 UTC by Shaun
Modified: 2024-11-27 16:22 UTC (History)
2 users (show)

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


Attachments
Test file (139.79 KB, text/plain)
2024-09-05 18:42 UTC, Shaun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun 2024-09-05 18:42:17 UTC
Created attachment 173360 [details]
Test file

***
First, I would like to say you have something here, I love it.
I just dearly want it to work. I have imported a Lottle Json file looks good as you will see
***

SUMMARY
The attached file works fine in the app but when you export SVG it's all messed up

STEPS TO REPRODUCE
1. Open Files
2. Export as SVG
3. View in browser

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Mattia Basaglia 2024-09-05 19:05:09 UTC
There are a couple different issues at play.

One of them seems to be that the layers with an animated position following a path have an extra translation applied to them, which needs to be removed (otherwise it's combined with the animation)
Comment 2 francaco 2024-11-27 16:22:17 UTC
I think there's another issue that has to do with masks and clips not applying.

I have a project that has some shapes with holes in them and when exporting to svg, apparently they are exported as different shapes (the base main shape and the different "holes") and the clipping masks do not apply.

Also, some animated rotations are not applied.

Should I create a different bug for those? Well, if it is needed to upload my files here, let me know.