SUMMARY Krita crashes when attempting to paste a reference image if the clipboard had been copied from an empty layer. I'm a tech idiot and couldn't figure out a way to get a backtrace. STEPS TO REPRODUCE 1. On an invisible paint layer, make a selection and copy the selection to clipboard 2. Select the Reference images tool, and under tool options click Paste reference image from clipboard OBSERVED RESULT Krita pauses for a while and crashes. EXPECTED RESULT Krita pastes contents of the selection as if the layer had been visible, or at least doesn't crash. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux Mint 20.3 Cinnamon, Cinnamon ver. 5.2.7
Can you please test with the appimage? I cannot reprocude a crash with 5.1.1 or master; instead I get a warning "could not create reference image from clipboard"
*** This bug has been marked as a duplicate of bug 459904 ***