| Summary: | XMP Exif metadata not loading correctly | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Tiar <tamtamy.tymona> |
| Component: | File formats | Assignee: | Tiar <tamtamy.tymona> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| 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=520982 | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/656d07fa47d3bf485f224f1ca0d0d84a594b39dc | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Test file | ||
|
Description
Tiar
2026-06-02 21:41:16 UTC
Git commit bc8a2a8d9fff009ea5cc7022daed1d1f8ea453a0 by Dmitry Kazakov, on behalf of Agata Cacko. Committed on 22/06/2026 at 11:07. Pushed by dkazakov into branch 'master'. Fix not loading some xmp exif metadata correctly Before this commit, Krita would not consider "32 / 10" a valid value for a Rational field in XMP exif metadata. Those files however exist in the wild and the regex to accept the additional spaces isn't much different. This commit changes the regex to accept possible spaces. M +1 -1 libs/metadata/kis_meta_data_parser.cc https://invent.kde.org/graphics/krita/-/commit/bc8a2a8d9fff009ea5cc7022daed1d1f8ea453a0 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 520982 M +11 -1 plugins/metadata/xmp/kis_xmp_io.cpp https://invent.kde.org/graphics/krita/-/commit/489a52258df9398850f6561b85d6f898c30ad806 Git commit 656d07fa47d3bf485f224f1ca0d0d84a594b39dc by Dmitry Kazakov, on behalf of Agata Cacko. Committed on 22/06/2026 at 11:08. Pushed by dkazakov into branch 'krita/6.0'. Fix not loading some xmp exif metadata correctly Before this commit, Krita would not consider "32 / 10" a valid value for a Rational field in XMP exif metadata. Those files however exist in the wild and the regex to accept the additional spaces isn't much different. This commit changes the regex to accept possible spaces. M +1 -1 libs/metadata/kis_meta_data_parser.cc https://invent.kde.org/graphics/krita/-/commit/656d07fa47d3bf485f224f1ca0d0d84a594b39dc 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 520982 M +11 -1 plugins/metadata/xmp/kis_xmp_io.cpp https://invent.kde.org/graphics/krita/-/commit/5e541796a4ddfc2b3c266a5fda058c5489df4dc3 |