| Summary: | Filter Layer Mask not saving | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Andrei Rudenko <rudenkoarts> |
| Component: | Filter Layers | Assignee: | Emmet O'Neill <emmetoneill.pdx> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | emmetoneill.pdx, halla |
| Priority: | NOR | Keywords: | regression, release_blocker, triaged |
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/872dd6b01eedc2bb587f4fdef502aa0ad96ec3d4 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Andrei Rudenko
2021-04-20 02:14:40 UTC
Sorry, i forgot to add this Step 3. Create color adjustment(or any) filter layer ontop of the layers. An make some changes. I see that the mask itself isn't saved (or loaded), but the filter definition is. Git commit 872dd6b01eedc2bb587f4fdef502aa0ad96ec3d4 by Eoin O'Neill. Committed on 21/04/2021 at 03:41. Pushed by eoinoneill into branch 'master'. CURRENT_DTD_VERSION constant addition changed harcoded values from "2" to "2.0" which lead to issues on KRA load since QString's `toInt()` doesn't seem to like floating point representation. The result of this was Krita not properly recognizing the syntax version of a file on load, leading to some loading problems. M +3 -2 plugins/impex/libkra/kra_converter.cpp https://invent.kde.org/graphics/krita/commit/872dd6b01eedc2bb587f4fdef502aa0ad96ec3d4 Git commit 2ca14a1f733ba33bee14371ba351aa6f1b220fd6 by Eoin O'Neill. Committed on 22/04/2021 at 21:26. Pushed by eoinoneill into branch 'master'. Improved version parsing to support both integer and major/minor version syntax. Somewhere along the way, QStrings with a decimal point resulted in invalid version detection which lead to being unable to load kra files accurately. After speaking to Halla, we've decided to move from QString-to-Integer conversion to QString-to-QVersionNumber M +6 -1 plugins/impex/libkra/kra_converter.cpp https://invent.kde.org/graphics/krita/commit/2ca14a1f733ba33bee14371ba351aa6f1b220fd6 |