# Don't trim image and preserve alpha when copying

**URL:** <https://krita-artists.org/t/dont-trim-image-and-preserve-alpha-when-copying/119301>\
**Category:** Feature Requests\
**Tags:** for-ui-ux, for-layers\
**Created:** [March 25, 2025, 12:22am UTC](https://krita-artists.org/t/dont-trim-image-and-preserve-alpha-when-copying/119301 "2025-03-25T00:22:16Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![dkazakov](https://krita-artists.org/user_avatar/krita-artists.org/dkazakov/32/213_2.png) [@dkazakov](https://krita-artists.org/u/dkazakov)\
**Post date:** [October 14, 2026, 3:20pm UTC](https://krita-artists.org/t/dont-trim-image-and-preserve-alpha-when-copying/119301/12 "2026-10-14T15:20:07Z")

</div>

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:

- Windows: [https://files.kde.org/krita/testing/copy-paste-refactor/krita-x64-6.1.0-prealpha-9f83f397.zip](https://files.kde.org/krita/testing/copy-paste-refactor/krita-x64-6.1.0-prealpha-9f83f397.zip)
- Linux: [https://files.kde.org/krita/testing/copy-paste-refactor/krita-6.1.0-prealpha-9f83f397b5-x86\_64.AppImage](https://files.kde.org/krita/testing/copy-paste-refactor/krita-6.1.0-prealpha-9f83f397b5-x86_64.AppImage)
- MR with sources: [https://invent.kde.org/graphics/krita/-/merge\_requests/2985](https://invent.kde.org/graphics/krita/-/merge_requests/2985)

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 🙂

---

_[View the full topic](https://krita-artists.org/t/dont-trim-image-and-preserve-alpha-when-copying/119301)._
