Importing a new layer from a file that is larger than the current canvas results in the new layer being cropped to the current canvase size

Bug #2051435 reported by NM64
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Triaged
Undecided
Unassigned

Bug Description

Really simple, so I don't think I need to record a video (but let me know if you do want one!), and it occurred with the flatpak of Pinta 2.1.1 on both the live ISO of Linux Mint 21.3 Cinnamon and an installed copy of Linux Mint 20.3 Xfce.

First off, get yourself a large image (on Linux Mint you just can use the files included in /usr/share/backgrounds specifically the ones in the folder that isn't ๐‘—๐‘ข๐‘ ๐‘ก named "linuxmint" since the images in the other folders e.g. "linuxmint-virginia" are substantially larger).

Then in Pinta, simply do a "Layers" โ–ถ "Import from File" and chose that large image you prepared.

Now in Pinta, it should be defaulting to the "Move Selected Pixels" tool (the one that looks like a PlayStation-style d-pad). Simply use that tool to drag the newly-created layer a bit to the side at which point you should see that your imported large image was actually cropped to the size of the current canvas.

It's possible that this is not a defect but actually a "feature".

NM64 (nm64)
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Cameron White (cameronwhite91) wrote :

This ideally should behave like the Paste tool when pasting an image larger than the canvas (i.e. allow you to expand the canvas, but otherwise paste the larger image and allow you to adjust its position

Changed in pinta:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.