Bug 412270 - Keep active layer name when merging
Summary: Keep active layer name when merging
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 09:40 UTC by stepan
Modified: 2019-09-26 19:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stepan 2019-09-24 09:40:41 UTC
When merging layer down the new layer gets name from  layer below. Keeping active layer name could save a lot of time (when merging lineart with colored layers  and you need to rename the result as it was initially).
It can be  another hotkey combination , ex. ctrl+shift+e
Comment 1 vanyossi 2019-09-25 02:58:10 UTC
this probably needs  discussion. you are merging the layer on top to the layer below so it is logical to keep the name of the layer below.
Comment 2 stepan 2019-09-25 09:50:29 UTC
Sure, you are right. It actually doesn't matter in most cases, but there are situations when you draw a character for example, for cutout animation or game, you make multiple layers with specific names (lower arm, upper arm, ...) and initially you draw lines with this names for easy work, then you color this elements in layers below (base color layer, details, shading .. or something like this), and after this you have to merge them, and all the initial names disappear, and you have to rename it again.
I am not talking about changing existing logical method, but about option of merging operation.
Comment 3 David REVOY 2019-09-26 19:46:49 UTC
Hi Stepan,

Yes, this is the type of situation where sometime one want to keep the name of the layer of the top while merging down. I think it is fair to tell it happens to everyone more or less rarely.

That being said; the default behavior "to merge down" is more logic: the layer on the top get merged on the one of the bottom on a compositing point of view. So it is most likely reasonable to let the layer of the bottom dictate most of the properties of the result, including name.

I'll give here two workflow where the merge down works well for default:
You have layer "Pencil", you create a temp layer on the top to create set of lines you can move freely and rotate on a "Layer 12" type of autogenerated layer name, then you merge down to bake this changes and it auto-inherit the "Pencil" name. Same with painting and paint over, or photo bashing over a "texture" layer and then merging all down into it.

I read your issue and the example are really specific; in my opinion they can be solved at creation of the stack with starting with properly named groups: then you can base color, ink, post-fx any body parts and keep the name of the groups during the full process while adding layer up or down.

That's why all in all, I wouldn't even advice an option. I hope you'll understan d.