Summary: | SVG File layers are not rendered | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | winterhawk28 |
Component: | Layers/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | griffinvalley, halla, manuel.snudl.zeidler |
Priority: | NOR | ||
Version: | 4.2.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
winterhawk28
2019-05-30 08:47:57 UTC
Hm, I can confirm that an svg file layer doesn't show anything, not even on first loading it. But if I modify the svg file, Krita pops up the resolution dialog and reloads it. So, this seems to be fixed here? At the least, I can load an svg file, it updates properly when I change it, etc. However, the pop-up dialog *is* pretty annoying. Looking at KisSVGImport::convert the dialog is called when it's not batchmode and at that point it takes a preferred dpi from the global user settings... I am not sure how we're supossed to store this data inside the filelayer. But maybe this is in the territory of a seperate bug report? No, I can confirm this issue is still present on a Krita 5.1.0 daily build on Windows (git 7af8eaa). You can try https://commons.wikimedia.org/wiki/File:Test.svg. If drag-and-dropped into a document and choosing as File Layer it will appear as a completely transparent layer, if choosing as new Layer or as a Reference Image it renders properly. Also strangely, if choosing the new layer option it takes a solid 10 seconds for the resolution dialog to appear and the Krita window is completely frozen in the meantime. That delay is not present when I try the same thing in 4.4.8, and I don't remember it being a problem in an older 5.1 daily. |