| Summary: | Can't Copy/Paste vector object from Inkscape to Krita on Windows-10 | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Ahab Greybeard <ahab.greybeard> |
| Component: | Layers/Vector | Assignee: | Halla Rempt <halla> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ahab Greybeard
2018-04-09 15:19:21 UTC
I can confirm the issue. I think that Windows 10 adds a rasterized version of the svg to the mimedata on the clipboard. Yes... The following mimetypes are in an inkscape paste on Windows:
[14128] ("image/x-inkscape-svg", "application/x-qt-windows-mime;value=\"PNG\"", "application/x-qt-image")
While krita expects
mage/svg+xml
Fixed in commit 3145ca09146ec84958799fd15b4cd0ddd32ac7fb (HEAD -> master, origin/master, origin/HEAD) Author: Boudewijn Rempt <boud@valdyas.org> Date: Fri Apr 10 11:27:27 2020 +0100 Fix pasting SVG as vectors on Windows On Windows, inkscape puts the following mimetypes on the clipboard: "image/x-inkscape-svg" "application/x-qt-windows-mime;value=\"PNG\"" "application/x-qt-image" While krita expected "image/svg+xml" Now we just look through all formats to see whether there's one htat says 'svg' and then use that data |