Don't trim image and preserve alpha when copying

Hi, all!

Could you please test these packages for Linux and Windows? I guess the issues you mentioned in this thread should be fixed now:

I have significantly rewritten the way how we handle clipboard pastes. The main goal was to handle the layers with non-transparent default pixel properly. But I also addressed your issues. The requirements I kept in mind are the following:

  1. If something is copied with a selection, then the selection bounds are considered as the bounds of the image in the clipboard.
  2. If something is copied without a selection, then the image bounds are considered as the bounds of the image in the clipboard.
  3. When creating a new image from the clipboard, the transparent areas are also considered.

My patch could also affect the way how Drag&Drop functionality works, so it would be nice to check it as well :slight_smile: