| Summary: | SVG File layers are not rendered | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | winterhawk28 |
| Component: | Layers/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | griffinvalley, halla, manuel.snudl.zeidler |
| Priority: | NOR | ||
| Version First Reported In: | 4.2.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented 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. Using AppImages on Linux I've been able to reproduce general strangeness with the SVG file layers, but at least as of the official 5.1 release I'm not experiencing any issues. No rendering problems, the image updates when changed and saved in Inkscape, no pop-ups, no delays. I'm going to change the status to resolved per the bughunt instructions, so just reopen the bug if it's still around to somebody else :) PS. don't forget to update the Krita version in the bug report if you reopen it, so it's clear that it's still around and hasn't resolved itself sometime in the past ~2.5 years. |