Bug 352519 - Delete, cut copy and paste recursively from a group or multiple selected layer
Summary: Delete, cut copy and paste recursively from a group or multiple selected layer
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 2.9.7
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 427268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-10 14:34 UTC by Raghavendra kamath
Modified: 2022-12-10 17:25 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raghavendra kamath 2015-09-10 14:34:31 UTC
While doing comic art etc, artist tend to have the artwork spanned in various layers example line-art at top flats at bottom and colors + effects in the middle, The transform tools in krita have awesome functionality to transform recursively from one group and when you apply the transformation it is reflected in all layers, 

I am requesting this wish bug to expand this functionality to delete , cut , copy and paste too.
after one makes a selection , then selects the group or multiple layers , the user can have the functionality to delete the content in the selection from entire group or multiple layers selected in the layer stack, rather than selecting each layer and pressing delete key.

Similarly the cut, copy should cut or copy from the layers selected or from group. Pasting the copied pixels can create same number of layers in same layer order, this will make it easy to cut some portion from multiple layers scattered in the layer stack and then create a group and paste the selected part of the layer inside that group. For example suppose you want to cut the arm of a character and paste it in different group but maintaining the layer order i.e. line-art color flats etc.

When I googled for deleting functionality I found that manga studio has this feature and it also has copy past and cut, hence i included copy paste in the wishbug. Please don't think that i am requesting this because manga studio has it :) . I only found out about this now when googling for delete

for your reference you can watch this functionality in action here -> https://youtu.be/0MRZ4ytSkIQ?t=12m9s

I hope I have explained the feature well, pardon me for such long text.

thank you


Reproducible: Always
Comment 1 Halla Rempt 2015-09-12 08:25:03 UTC
Ack, these would be good to have.
Comment 2 Halla Rempt 2016-01-24 11:37:52 UTC
Does Copy Merged for this purpose?
Comment 3 Raghavendra kamath 2016-01-24 11:56:21 UTC
boud , copy merge give a flattened single layer of the selected part.
the idea is to get the layer order intact, for example if you have  a character ( with layer order lineart | color |flat) the hand part is selected and pasted inside a new group the resulting paste should have the hand part in seperate layers with similar order i.e newly formed hand group will have lineart layer , color layer and also the flat color layer as in the original. So basically the cut operation should be done from each layer and then pasted to respective number of layer.
Comment 4 Dmitry Kazakov 2016-01-24 12:06:09 UTC
Hi, Raghavendra!

After my work on multiple layer management the action you propose is available by pressing two shortcuts sequentially:

Ctrl+J --- duplicate layers
Ctrl+E --- merge them

Just press it sequentially and it'll do what you want
Comment 5 Raghavendra kamath 2016-01-24 12:30:18 UTC
Hello Dmitry,
Thanks for suggesting the work around buti think I am somehow messing up in explaining as i don't want to achieve a merged image. I want to cut copy paste parts under selection (marching ants) from multiple layers into corresponding multiple layers.

it is similar to what you have done in multiple layer copy paste in layer stack except here only selected ( by marching ants ) parts of the layer get copied or cut pasted into multiple layers.

==About delete recursive==
Also delete is hard to achieve recursively, suppose you want to clear a part of drawing spread across many layer ,you'll have to select that part by selection tools then click and select layers one by one and hitting delete key. all I wish is select the part and hit delete (can be other keyboard shortcut ) that part is cleared from all the layers.

==About copy cut and paste recursive == 
Suppose you have a drawing with three layers you want a portion of that drawing seperated but want to maintain the layer structure (i.e. three layers) (the reason for this can be anything seperating limbs from character for cutout animation, or just making a copy of the limbs before drawing different set)  I select the part of the drawing with the selection tool, and cut/copy them and paste them the result should be three layers (original) and three extra layers pasted of this part. 
In current versions I would have to duplicate the original three  layers then select inverse and delete the unwanted parts one by one.

let me know if I messed up explaining this again .
I think you really should see this video for more clear explanation , the video starts exactly where the user explain this feature so it'll not waste time -> https://youtu.be/0MRZ4ytSkIQ?t=12m9s
Comment 6 Dmitry Kazakov 2016-01-26 12:11:18 UTC
WISHGROUP: Stretchgoal : up to a couple of weeks or a month of work
Comment 7 gordie.lachance+dev 2017-03-02 15:45:35 UTC
Would be great to have this for the transform tool too - allowing you to transform several selected layers - or a selection within.
Comment 8 David REVOY 2017-03-02 19:51:21 UTC
@gordie.lachance : It's already possible since more than 4 years to perform  transform tool on multiple layers within a selection. ( ref: https://youtu.be/kgTkfebleCE?t=18s ) just group them, select the group on the layer stack, draw a selection and Ctrl+T.
Comment 9 vanyossi 2020-10-04 23:44:01 UTC
*** Bug 427268 has been marked as a duplicate of this bug. ***
Comment 10 Reinold Rojas 2021-09-26 16:47:31 UTC
I think this has been done with the work done by Santhosh Anguluri 
 in https://invent.kde.org/graphics/krita/-/merge_requests/888
Comment 11 Raghavendra kamath 2022-12-10 17:25:34 UTC
I am closing this as this is already implemented now.