https://bugs.kde.org/show_bug.cgi?id=414699
Bug ID: 414699 Summary: Cloned layers corrupted files after moving to a new document Product: krita Version: 4.2.8 Platform: MS Windows OS: MS Windows Status: REPORTED Severity: crash Priority: NOR Component: File formats Assignee: krita-bugs-n...@kde.org Reporter: oddmorn...@ya.ru Target Milestone: --- Created attachment 124219 --> https://bugs.kde.org/attachment.cgi?id=124219&action=edit A corrupted file example SUMMARY Copying cloned layers to other documents generates corrupted .kra files, doesn't matter if the cloned layer's source is copied together with it. STEPS TO REPRODUCE 1. Create a clone layer; 2. Copy the cloned layer via the context menu; 3. Create a new document and "Paste Layer" there; 4. Save, close, and reopen the document. OBSERVED RESULT The file opens EXPECTED RESULT Krita crashes SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION I compared two `maindoc.xml` files and it seems the `clonefromuuid` attribute remains the same and doesn't point to the source layer since its `uuid` is changed. I was able to recover my files by fixing that attribute manually. -- You are receiving this mail because: You are watching all bug changes.