Summary: | Annotation not loaded | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | grum999 |
Component: | Scripting | Assignee: | Halla Rempt <halla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/582d9a70a7bdaf89c8274a732f416674a451008b | Version Fixed In: |
Description
grum999
2021-03-10 16:50:17 UTC
Additionally - Open a document - Set and/or remove annotation The document is considered as not modified. Then close the document, all annotations changes are lost without any warning possibility. I think it’s not possible to add annotation in undo/redo stack, but at least when annotations are modified, file status should be changed to “modified”, otherwise: - that’s sure, some plugin annotations will be lost (and then, a part of user's work will be lost too) - plugins developers will try dirty and tricky things to force document to be in “modified” status Git commit c0775ffa396e362cb0da37eba3d29d25bb48611e by Halla Rempt. Committed on 18/03/2021 at 10:47. Pushed by rempt into branch 'master'. Fix loading annotations and load them in the right order M +4 -0 libs/libkis/Document.cpp M +3 -3 plugins/impex/libkra/kis_kra_loader.cpp https://invent.kde.org/graphics/krita/commit/c0775ffa396e362cb0da37eba3d29d25bb48611e Git commit 582d9a70a7bdaf89c8274a732f416674a451008b by Halla Rempt. Committed on 18/03/2021 at 10:48. Pushed by rempt into branch 'master'. Notify Krita that the image has been modified if an annotation is changed or added M +2 -0 libs/image/kis_image.cc https://invent.kde.org/graphics/krita/commit/582d9a70a7bdaf89c8274a732f416674a451008b |