https://bugs.kde.org/show_bug.cgi?id=466902
Bug ID: 466902 Summary: Cloning undefined frames results in a crash Classification: Applications Product: krita Version: 5.1.5 Platform: Ubuntu OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Animation Assignee: krita-bugs-n...@kde.org Reporter: paleh21...@proton.me Target Milestone: --- Created attachment 157019 --> https://bugs.kde.org/attachment.cgi?id=157019&action=edit short backtrace SUMMARY Title. On windows it also results in an unexpected behavior, as well as a crash (see Additional Info). STEPS TO REPRODUCE 1. Create a new paint layer A. 2. Add a blank* frame on A. 3. By holding Shift or Ctrl select several undefined keyframe slots** in the timeline of A. 4. Right click and choose "Clone Keyframes". 5. Create a new paint layer B, add a blank frame to it. 6. Right click on B's timeline and choose "Paste Keyframes"*** * whether or not the frames are blank does not impact the result ** the selection needs to contain at least one undefined frame and one other frame (defined or undefined) *** cloning by Alt+dragging does not result in a crash OBSERVED RESULT - krita crashes EXPECTED RESULT - krita doesn't crash - pasting undefined cloned frames has no impact - pasting an array of mixed defined and undefined cloned frames duplicates the defined frames, while undefined frames make no impact. SOFTWARE/OS VERSIONS Linux: Ubuntu 22.04 Qt Version: 5.12.12 ADDITIONAL INFORMATION The issue exists on Windows in a different form. When an undefined frame is cloned (and pasted) on B, it is replaced by a duplicate of the next defined frame in the timeline of A (the expected result is that pasting undefined frames shouldn't affect the timeline of B). If no such frame exists, Krita crashes. -- You are receiving this mail because: You are watching all bug changes.