| Summary: | Kra file cannot be saved with invalid value in a XMP exif metadata | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Tiar <tamtamy.tymona> |
| Component: | File formats | Assignee: | Tiar <tamtamy.tymona> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buggykrita |
| Priority: | NOR | ||
| Version First Reported In: | 5.3.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=520981 | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/285d51e15dd3250235827317f0e6a07a25e56538 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Test file | ||
|
Description
Tiar
2026-06-02 21:52:12 UTC
Git commit 489a52258df9398850f6561b85d6f898c30ad806 by Dmitry Kazakov, on behalf of Agata Cacko. Committed on 22/06/2026 at 11:07. Pushed by dkazakov into branch 'master'. Add KisUsageLogger logging for invalid metadata Before this commit, invalid metadata would show up in LogViewer when turned on metadata filter, but that caused a lot of lines and it wouldn't be visible in the Krita usage log. This commit adds logging into Krita Usage Log so failures to parse or save metadata are leaving a trace in the log file. Related: bug 520981 M +11 -1 plugins/metadata/xmp/kis_xmp_io.cpp https://invent.kde.org/graphics/krita/-/commit/489a52258df9398850f6561b85d6f898c30ad806 Git commit 603cbacec49c3ed9df05eb3ee9be0906452067e5 by Dmitry Kazakov, on behalf of Agata Cacko. Committed on 22/06/2026 at 11:07. Pushed by dkazakov into branch 'master'. Omit invalid values for xmp metadata when saving Before this commit, if there was an invalid value for xmp exif metadata, Krita would fail saving to a kra file because the xmp encoder would complain about it. This commit just omits encoding the invalid values and warns about it in logs. M +3 -1 plugins/metadata/xmp/kis_xmp_io.cpp https://invent.kde.org/graphics/krita/-/commit/603cbacec49c3ed9df05eb3ee9be0906452067e5 Git commit 285d51e15dd3250235827317f0e6a07a25e56538 by Dmitry Kazakov, on behalf of Agata Cacko. Committed on 22/06/2026 at 11:08. Pushed by dkazakov into branch 'krita/6.0'. Omit invalid values for xmp metadata when saving Before this commit, if there was an invalid value for xmp exif metadata, Krita would fail saving to a kra file because the xmp encoder would complain about it. This commit just omits encoding the invalid values and warns about it in logs. M +3 -1 plugins/metadata/xmp/kis_xmp_io.cpp https://invent.kde.org/graphics/krita/-/commit/285d51e15dd3250235827317f0e6a07a25e56538 Git commit 5e541796a4ddfc2b3c266a5fda058c5489df4dc3 by Dmitry Kazakov, on behalf of Agata Cacko. Committed on 22/06/2026 at 11:08. Pushed by dkazakov into branch 'krita/6.0'. Add KisUsageLogger logging for invalid metadata Before this commit, invalid metadata would show up in LogViewer when turned on metadata filter, but that caused a lot of lines and it wouldn't be visible in the Krita usage log. This commit adds logging into Krita Usage Log so failures to parse or save metadata are leaving a trace in the log file. Related: bug 520981 M +11 -1 plugins/metadata/xmp/kis_xmp_io.cpp https://invent.kde.org/graphics/krita/-/commit/5e541796a4ddfc2b3c266a5fda058c5489df4dc3 *** Bug 522027 has been marked as a duplicate of this bug. *** |