Feature Request: Duplicate selected (in the same layer)

In Krita, (like in PS) it is a shortcut ctrl+j which duplicate the selected layer in the same position. This is how I use right now in Krita. :slight_smile:
Cheers

the wish is to duplicate a selection, not a whole layer and to duplicate in place (in the same layer) :stuck_out_tongue:

2 Likes

I missed this post. Really interesting proposal. The good thing about this is when we talk about concept art where lot of detail is achieved creating copies and play with selections. I would like to test it in future if possible.
I save this thread to be analyzed. :blush:

3 Likes

Interested in this :slight_smile:
Cheers
Alex

2 Likes

I adhere with this. It’s one of the very first things I tried doing in Krita. At first I loved it, but once I noticed how it manages copying and pasting I was so shocked that I might go back to PS immediately.

Select part of an image - Alt+Click and drag to create a copy - within the same layer

The fact copying and pasting works by creating a new layer all the time is just eye opening.

Thanks for all the work guys as the software has some amazing options that are very time consuming in PS. I really think the whole Adobe Suite is outdated in their ux, severely, and guys like you can create much more adapted alternatives that can challenge monopolistic giants.

2 Likes

I’d like to be able to paste anything in my clipboard into the selected layer and not to a new layer. Same goes for pasting it into the selected frame. Maybe this could simply be done with an alternate shortcut? Like Ctrl+Shift+V?

2 Likes

in animation it’s possible to copy one frame into clipboard doing right button over the frame>copy to clipboard and paste it in another frame but same layer by right button over the other frame and paste from clipboard. I’ve assigned space+c and space+v as shortcut in preferences.

I know but what I meant was more like combining parts of one frame with another, or even pasting part of a drawing inside the same frame, or in the same layer, or another layer but without creating a new layer automatically. I don’t think it’s possible to copy an arm of a character for example and paste it in the same layer or in the same frame. It’ll always make a new layer. And yes, you can paste a frame in the same layer, but only the whole drawing in that frame, so it’ll replace anything that’s already there. There’s no easy way of combining things in the same layer or frame.

Considering that we can move content around using Move Tool when there is a selection active and it doesn’t destroy the content below the content that is being moved (so it works essentially as if it was on its own layer), and the same can be said about the transform tool, I believe there might be a technical way to do it. I’m not exactly sure how, but maybe there is.

However then we probably would need to choose either Move Tool or Transform Tool, since the image would have to be imported directly into their ā€œworking spaceā€ or something. And after applying it’s kind of ā€œmergedā€.

1 Like

Use case example :

  1. Make a selection
  2. Activate the Move Tool
  3. Hold Ctrl, and then click+drag to copy object selected on the same layer as many times as needed(must release click button to commit a copy)
  4. It is expected to have only duplicates of the raster data of the initial selection, so there’s no new selection during the process.
2 Likes

Hi

I think this is now implemented in Krita (paste in active layer)?

Grum999

Yes, it is already implemented.

I wouldn’t say this is implemented, as it’s more about having a faster workflow than the feature itself.

I need to do 4 steps currently

  1. Select the part of the layer
  2. Use shortcut Ctrl + C to copy it
  3. Then use the shortcut you have manually set for the copy into active layer
  4. Then drag it

In Photoshop and most other software it’s two steps.

  1. Select the part of the layer
  2. Hold shortcut and drag it

If I copy forms a lot, those extra steps add up quickly.

Also, the paste into active layer pastes it where it was copied from, which is also breaking workflow. Let’s say that if I want to keep pasting that shape, let’s say 8 times for a repeating design, or to experiment with rotation or scale of that shape, then I need to each time drag it from where it originally was copied, which will be further and further away. Or if I find a great rotation for the shape, then I need to rotate it again every time, instead of being able to copy it with the same transforms continuously.

8 Likes

Another thing that would be good is that the duplicate layer shortcut allows you, for example, to only duplicate what is selected if you have a region selected.

2 Likes

I have tested both ways and i see PS here is faster if we use it in production, not showing only the feature. I give to this 1 Vote. Is important.

4 Likes

And important for vector layers too, where I need to place element precisely relatively to each other. Alternatively a command to paste at same position so I can then move the copy horizontally or vertically from the original position (see other threads like https://www.reddit.com/r/krita/comments/zwr1vy/bug_krita_514_paste_into_active_layer_is/)

2 Likes

Just tried it again today, and noticed that you cannot even drag directly after Paste. You must first Click (no move) to make the Transform tool appear about the Pasted area, then drag to the new area… (and since the Transform tool doesn’t show when you paste, you’re wondering if Paste actually worked or not until you click on the Pasted area…). In counterpart, if you do repeated paste, you don’t have to press T to activate Transform tool again from the 2nd time.

So 4 actions (Ctrl+C, Ctrl+V, Click, Drag) is the minimum for each copy-paste ā€œcycleā€.

After that you must remember to merge all the layers. Fortunately you can batch select all of them and Merge with Layer Below. The name is actually misleading in case of multi-selection: it will merge the selected layers together, and them only: it will not affect the layer below the lowest selected layer.

If you do Edit → Paste into Active Layer, the Transform tool is activated on the pasted content. The active layer can be the same layer you copied from.

2 Likes

Just by chance I tried this today using version 5.3 pre-alpha and it works!

  • select pixels
  • command + c
  • command + shift + v

Pixels are duplicated in the current layer, you can just drag to a new location.

In the recent 5.3.0-prealpha builds, Ctrl+Shift+V is mapped to Edit → Paste into Active Layer as a keyboard shortcut.
Anybody could have done that for themselves over the past couple of years :slight_smile: