Description
When pasting any selected area that isn't a rectangle, part of the underlying image (not the shape being pasted) is deleted. This never used to occur until the most recent releases.
To Reproduce
Use the "Ellipse Select" tool to highlight an oval area in an image.
Copy (ctrl-c) then paste (ctr-v) into the same layer.
As expected, the copied oval is placed at the top left corner
and can then be dragged wherever desirable on the image.
As soon as you do something else so the pasted oval is "Deselect"ed then the error occurs:
The oval is left pasted as desired, but the rectangular bounding box for the oval
deletes everything else from the underlying main image so that you effectively see a transparent box with just a pasted oval in it. The issue isn't temporary. If you save the
image, the transparency is saved.
Ditto for when pasting a Lasso Select, where again, as soon as the paste is deselected, the remainder of the bounding box for the pasted area that is not part of the Lasso shape is deleted in the underlying image.
Additional Info
There are no issues with the "Rectangle Select" tool.
Likely this is because there is no remaining area.
i.e. The bounding box is the same as the pasted area.
Version
Pinta v3.0 from dl.flathub.org, tested on Fedora Workstation 41.
Description
When pasting any selected area that isn't a rectangle, part of the underlying image (not the shape being pasted) is deleted. This never used to occur until the most recent releases.
To Reproduce
Use the "Ellipse Select" tool to highlight an oval area in an image.
Copy (ctrl-c) then paste (ctr-v) into the same layer.
As expected, the copied oval is placed at the top left corner
and can then be dragged wherever desirable on the image.
As soon as you do something else so the pasted oval is "Deselect"ed then the error occurs:
The oval is left pasted as desired, but the rectangular bounding box for the oval
deletes everything else from the underlying main image so that you effectively see a transparent box with just a pasted oval in it. The issue isn't temporary. If you save the
image, the transparency is saved.
Ditto for when pasting a Lasso Select, where again, as soon as the paste is deselected, the remainder of the bounding box for the pasted area that is not part of the Lasso shape is deleted in the underlying image.
Additional Info
There are no issues with the "Rectangle Select" tool.
Likely this is because there is no remaining area.
i.e. The bounding box is the same as the pasted area.
Version
Pinta v3.0 from dl.flathub.org, tested on Fedora Workstation 41.