[krita] [Bug 486877] New: Transform masks that have never been edited in Krita 5.2 fail to load in 5.3
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sat May 11 04:24:00 BST 2024
https://bugs.kde.org/show_bug.cgi?id=486877
Bug ID: 486877
Summary: Transform masks that have never been edited in Krita
5.2 fail to load in 5.3
Classification: Applications
Product: krita
Version: git master (please specify the git hash!)
Platform: Compiled Sources
OS: macOS
Status: REPORTED
Severity: major
Priority: NOR
Component: * Unknown
Assignee: krita-bugs-null at kde.org
Reporter: code at thecodewarrior.dev
Target Milestone: ---
SUMMARY
In Krita 5.2, transform masks use `dumbparams` until they're first edited. The
parser for those params was moved into a separate library in commit d1cc758,
meaning any files that contain `dumbparams` transform masks fail to load.
STEPS TO REPRODUCE
1. Launch Krita 5.2.2
2. Create a new document
3. Add a transform mask to the background layer
4. Save the file
5. Launch Krita 5.3.0-prealpha (git 17e5603)
6. Try to open the file
OBSERVED RESULT
Krita fails to load the image, complaining it "Could not create transform mask
params"
EXPECTED RESULT
The file should open successfully
SOFTWARE/OS VERSIONS
Krita: 5.3.0-prealpha (git 17e5603)
ADDITIONAL INFORMATION
You can observe the param type changing using this script:
doc = Krita.instance().activeDocument()
print(doc.activeNode().toXML())
1. Launch Krita
2. Create a new document
3. Add a transform mask to the background layer
4. Run the script
5. Start editing the mask
6. Run the script again
In 5.2, the mask starts out using `dumbparams`, then moves to
`tooltransformparams` when you edit the transform. If you perform those same
steps in 5.3 the transform mask immediately uses `tooltransformparams`.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list