Bug 417829 - Krita collapse group in psd if all layers are in this group.
Summary: Krita collapse group in psd if all layers are in this group.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 4.2.8
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-18 13:52 UTC by Damien
Modified: 2023-10-21 08:46 UTC (History)
1 user (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 Damien 2020-02-18 13:52:23 UTC
Hi,
When you create a file in krita, create a group. Put all layers en this group, save in psd, close Krita, open Krita, open the psd, Krita collapse the folder in single layer.
Comment 1 Halla Rempt 2020-02-18 13:53:43 UTC
Thanks for the report. I can confirm the issue.
Comment 2 Bug Janitor Service 2023-09-02 02:06:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1929
Comment 3 Dmitry Kazakov 2023-10-21 08:42:07 UTC
Git commit 5657317aba000bd68f93803e39b3deab70992a57 by Dmitry Kazakov.
Committed on 21/10/2023 at 10:41.
Pushed by dkazakov into branch 'master'.

Fix layers be skipped from PSD when there is only one group layer

...or a layer with layer styles.

M  +3    -0    plugins/impex/psd/psd_saver.cpp

https://invent.kde.org/graphics/krita/-/commit/5657317aba000bd68f93803e39b3deab70992a57
Comment 4 Dmitry Kazakov 2023-10-21 08:42:58 UTC
Git commit fa04fc2c7eb8776850be70d61eedc3558441ca72 by Dmitry Kazakov, on behalf of Chris Multhaupt.
Committed on 21/10/2023 at 10:42.
Pushed by dkazakov into branch 'krita/5.2'.

Fix psd layer info for single layers or groups

Not writing the layer info when only having more than two children for
the root layer causes loss of data if the first child is a layer group.
Additionally, other layer properties such as name and opacity and more
do not get saved.
Related: bug 473699

M  +7    -24   plugins/impex/psd/psd_saver.cpp

https://invent.kde.org/graphics/krita/-/commit/fa04fc2c7eb8776850be70d61eedc3558441ca72
Comment 5 Dmitry Kazakov 2023-10-21 08:46:23 UTC
Git commit 00a92329dae0b35cd21466543ad6ed9a5cf928ac by Dmitry Kazakov.
Committed on 21/10/2023 at 10:46.
Pushed by dkazakov into branch 'krita/5.2'.

Fix layers be skipped from PSD when there is only one group layer

...or a layer with layer styles.

M  +3    -0    plugins/impex/psd/psd_saver.cpp

https://invent.kde.org/graphics/krita/-/commit/00a92329dae0b35cd21466543ad6ed9a5cf928ac