| Summary: | svg text XML nodes with only white space do not get parsed. | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | wolthera <griffinvalley> |
| Component: | Tool/Text | Assignee: | wolthera <griffinvalley> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | alvin |
| Priority: | NOR | Keywords: | release_blocker |
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/996609c4a805c52e8fcddf64c7faf34c439aca28 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Test file with white-space only test content elements. | ||
|
Description
wolthera
2025-12-08 14:53:30 UTC
This really needs to be fixed before 5.3, as it'll result in data loss in certain situations. A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2562 Git commit 996609c4a805c52e8fcddf64c7faf34c439aca28 by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier. Committed on 17/12/2025 at 15:34. Pushed by woltherav into branch 'master'. Reimplement XMLSimpleReader under an ifdef in SVGParser to read white-space only nodes. M +42 -1 libs/flake/svg/SvgParser.cpp https://invent.kde.org/graphics/krita/-/commit/996609c4a805c52e8fcddf64c7faf34c439aca28 |