Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Certain menu commands are disabled after pasting a selection #275
From olsze...@gmail.com on October 17, 2013 16:42:09
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Original issue: http://code.google.com/p/aseprite/issues/detail?id=275
From DocHoncho@gmail.com on November 28, 2013 22:06:39
Most items in Select are disabled as well.
I have looked a little bit into this problem, but not enough to say exactly what is causing it. I suspect it's the result of a disconnect between being a Selection and MovingPixels. For whatever reason when an image is pasted, it looks like there's a selection but it isn't really treated like one.
From davidcapello on November 30, 2013 13:49:24
This problem is because MovingPixelsState contains a PixelsMovement, which contains an UndoTransaction. This undo transaction lock the document in write mode in the whole transformation process of the pasted/moved image. It's quite hard to solve this. There are a "to do" item related with this which consist on adding undo to each transformation phase (e.g. you rotate, then scale, the move, there should be three different undo steps).