Pasting BUGS (Crash)

so some pasting actions in Python are quite broken.

Krita.instance().action('edit_paste').trigger() creates a reference object instead of a painter or vector depending on the object inside the clipboard.

Krita.instance().action('paste_into').trigger() causes an Instant CRASH on the application.

How to test:

  1. Copy some image into the clipboard with ctrl+c
  2. use one of the follow codes on the scripter
import krita
Krita.instance().action('edit_paste').trigger()
import krita
Krita.instance().action('paste_into').trigger()

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

2 Likes