Bug 515774

Summary: Distorted Shapes after saving as rawr file
Product: [Applications] glaxnimate Reporter: Fraxinas <kde-bugzilla>
Component: file formatsAssignee: Mattia Basaglia <glax>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Original telegram animated sticker causing the issue
The animation with distorted geometry after saving it as a rawr file

Description Fraxinas 2026-02-09 15:19:31 UTC
SUMMARY
When opening a certain telegram animated sticker in Glaxnimate 0.5.4 or GIT ("0.6.70"), and saving it as a glaxnimate native file, some shapes appear to be distorted.

STEPS TO REPRODUCE
1. open the attached telegram animated sticker file
2. save as rawr file
3. open the rawr file

OBSERVED RESULT
some shapes appear with missing or distorted geometry. the problem persists when saving this again as a tgs file and is not just a viewer problem


EXPECTED RESULT
the animation should be identical to the original

SOFTWARE/OS VERSIONS
Glaxnimate: 0.6.70
potrace: potracelib 1.16
libav: Lavu60.8.100, Lavf62.3.100, Lavc62.11.100, SwS9.1.100
libarchive: 3.8.5
zlib
pybind11: 2.11.1
CPython: 3.14.2
Inkscape
KDE Frameworks: 6.22.0
Qt: 6.10.2 wird verwendet und gebaut wurde mit 6.10.1
CachyOS (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.18.8-3-cachyos


ADDITIONAL INFORMATION
Comment 1 Fraxinas 2026-02-09 15:20:26 UTC
Created attachment 189396 [details]
Original telegram animated sticker causing the issue
Comment 2 Fraxinas 2026-02-09 15:22:59 UTC
Created attachment 189397 [details]
The animation with distorted geometry after saving it as a rawr file
Comment 3 Fraxinas 2026-02-09 15:47:07 UTC
Looking closely at the paths, it looks as if some of the curves between anchors broke and became just straight lines