https://bugs.kde.org/show_bug.cgi?id=465941
Bug ID: 465941 Summary: Crashes when copy pasting null image Classification: Applications Product: krita Version: 5.1.5 Platform: Manjaro OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: * Unknown Assignee: krita-bugs-n...@kde.org Reporter: illuslion1...@gmail.com Target Milestone: --- SUMMARY Krita crashes when pasting a null/empty image with the following error: ASSERT (krita): "!qimage.isNull()" in file /usr/src/debug/krita/krita-5.1.5/libs/ui/kis_clipboard.cc, line 460 It is 100% reproducible and it also happened in other cases but didn't know how to reproduce it. STEPS TO REPRODUCE 1. Select layer with "inherit alpha" enabled 2. Press Ctrl+C 3. Press Ctrl+Shift+N OBSERVED RESULT Krita crashes after this. It works if "Inherit Alpha" is disabled EXPECTED RESULT Krita should create a new canvas with the layer pasted. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.15.89-1-MANJARO (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: 5.15.8 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.