https://bugs.kde.org/show_bug.cgi?id=453190

            Bug ID: 453190
           Summary: Copy then paste in reference image tool with nothing
                    selected will crash
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Reference Images
          Assignee: krita-bugs-n...@kde.org
          Reporter: al...@alvinhc.com
                CC: a...@amyspark.me, sh...@sdf.org
  Target Milestone: ---

In a new document, switch to the reference image tool, then right-click->copy
and right-click->paste. This triggers an assert:

ASSERT (krita): "!qimage.isNull()" in file
C:/Packaging/workspace/Krita_Nightly_Windows_Build/krita/libs/ui/kis_clipboard.cc,
line 397

There seems to be two issues here:

- Performing a copy action with no reference image selected copies something
invalid (I really think the action should just be disabled.)
- Pasting with some potentially malformed bitmap data in the clipboard triggers
the assert.


(nightly caf9f20fd9)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to