Bug 496426 - SVG import broken with cloned objects
Summary: SVG import broken with cloned objects
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: 5.2.6
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-18 16:51 UTC by lcn
Modified: 2024-11-18 16:52 UTC (History)
0 users

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


Attachments
Clone test SVG (3.18 KB, image/svg+xml)
2024-11-18 16:51 UTC, lcn
Details
What it should look like (59.42 KB, image/png)
2024-11-18 16:52 UTC, lcn
Details
What it does look like (43.27 KB, image/png)
2024-11-18 16:52 UTC, lcn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lcn 2024-11-18 16:51:15 UTC
Created attachment 175919 [details]
Clone test SVG

1. Draw some object in Inkscape
2. Create a clone of that object at a different position
3. Import resulting SVG in Krita

The clone is not displayed where it should be or it is not displayed at all.

The attached SVG file contains a blue, green and red square each with a clone that's rotated a bit and located to the bottom left of the original. It's displayed like that in several different programs, like Inkscape, GIMP, Gwenview and Firefox. In Krita, the red clone is located way to the bottom right and is not rotated. The other two clones are missing. They might be somewhere outside the canvas, but I've increased its size to 38400x28800 and still couldn't find them.

The preview in the file open dialog still shows the file correctly.
Comment 1 lcn 2024-11-18 16:52:01 UTC
Created attachment 175920 [details]
What it should look like
Comment 2 lcn 2024-11-18 16:52:27 UTC
Created attachment 175922 [details]
What it does look like