Skip to content

Fix paste outside of image boundaries

Ivan Yossi requested to merge ivany/krita:paste_outbound_459111 into master

If paste data does not intersect canvas, the image is pasted at the center of the canvas.

BUG:459111

In "paste into layer" I copy the contents on clipboard to move it, this is done to avoid overwriting original clip position which would cause wrong coordinates on subsequent "paste at cursor" actions. However im not sure this is the best way to copy KisPaintDevice data

Merge request reports