Bug 411101

Summary: Krita had the ability to convert group layers into file layer but recent git versions have the option disabled.
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raghavendra kamath 2019-08-20 14:23:35 UTC
SUMMARY
In recent version of Krita users can't convert a group layer into a file layer via the menu > Layer > convert > to file layer or from the layer context menu. Earlier the group layers got saved into a kra file and the resulting kra file was referenced in the document.

Here is the commit for this feature - https://cgit.kde.org/krita.git/commit/?id=bb3aaece7c2e541269994e62cdd4777e32f383f2


STEPS TO REPRODUCE
1. Open Krita and add few layers
2. Create a group with these new layers in it
3. Right click on the group to go to the context menu > convert > file layer or go to the main menu > layer > convert to > file layer

OBSERVED RESULT
The option is grayed out

EXPECTED RESULT
It should be possible to create a file layer from a group layer
Comment 1 Halla Rempt 2019-08-27 12:13:13 UTC
Git commit bb2710664882929c659648ffc1383cc3920c863a by Boudewijn Rempt.
Committed on 27/08/2019 at 12:13.
Pushed by rempt into branch 'master'.

Even if they are empty.

M  +3    -1    libs/ui/kis_layer_manager.cc
M  +33   -33   libs/ui/kis_node_manager.cpp

https://invent.kde.org/kde/krita/commit/bb2710664882929c659648ffc1383cc3920c863a
Comment 2 Halla Rempt 2019-09-10 08:27:56 UTC
Git commit 04e3059993ea3b4bc89508c026db734b1dff1a18 by Boudewijn Rempt.
Committed on 10/09/2019 at 08:23.
Pushed by rempt into branch 'krita/4.2'.

Even if they are empty.

M  +3    -1    libs/ui/kis_layer_manager.cc
M  +33   -33   libs/ui/kis_node_manager.cpp

https://invent.kde.org/kde/krita/commit/04e3059993ea3b4bc89508c026db734b1dff1a18