Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Paste Location Altered When Copy Location Off Canvas #1447
When you copy and paste, the pasted item appears where you copied it, but if the item is off-canvas when you copy, the paste location becomes the center of the canvas (which can be disorienting if you were just expecting it to copy anyway, or copy just the portion of the sprite that's visible on the canvas).
Aseprite and System version
Aseprite version: 1.2-beta7, Steam
changed the title from
Copy + Paste Location Inconsistent
Paste Location Altered When Copy Location Off Canvas
Apr 4, 2017
Hmm, still feels like a bug to me, as it's disorienting (to me, anyway) to have the copied sprite suddenly move to the center of the image / view. The user should know where the copy happened because they initiated it. I don't think there's a need to change the copy and paste location of an image just because it's off canvas.
The problem here is that if we don't paste the clipboard content in the center of the editor's viewport, the user might never notice that he/she paste something (and that might be a problem for pixels with 0 < alpha < 255).
I'm not sure that pasting content outside the viewport would be a nice solution because the user would lost any kind of feedback about the Ctrl+V operation.
OK, that makes sense - I'm talking about copying something that's off canvas, not off-screen. Here's an example of what I'm talking about:
Notice after each paste that the copied area moves back to the canvas. That's a bit disorienting if you want to do something across multiple frames (like scroll a sprite across the canvas in an animation).