Bug 431151 - Layer stack is read backward
Summary: Layer stack is read backward
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: git master (please specify the git hash!)
Platform: Appimage Linux
: NOR grave
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-04 17:01 UTC by David REVOY
Modified: 2021-01-27 14:29 UTC (History)
1 user (show)

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


Attachments
Screenshot of the bug, comparing 5.x with 4.x (410.67 KB, image/jpeg)
2021-01-04 17:01 UTC, David REVOY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2021-01-04 17:01:30 UTC
Created attachment 134546 [details]
Screenshot of the bug, comparing 5.x with 4.x

Hi,
I opened a quick sketch made with Krita 4.x to test "Plugin-ification of GMic"  https://invent.kde.org/graphics/krita/-/merge_requests/581 and the appimage delivered with it. To my surprise; the background of my artwork appeared directly on the top of the layer stack (see screenshot in attachement, comparing what I see in this appimage VS Krita 4.x appimage). 

To reproduce:
=============
1. Get appimage version: https://dump.amyspark.me/krita-5.0.0-prealpha-005f78b-x86_64.appimage
2. Download the sketch Krita file I used to reproduce: https://www.peppercarrot.com/extras/temp/2020-11-10_16h20_sketchpage.kra
3. Open the file in the appimage

Result:
=======
The group layer named "---" appears on the top of the stack, hidding the character Shichimi. This group is supposed to sit in the background of the picture.

Thanks!
Comment 1 amyspark 2021-01-04 18:17:00 UTC
Closing as this is caused by a feature internal to the MR.
Comment 2 Halla Rempt 2021-01-27 14:29:38 UTC
Git commit 2050f47221cfe255c177bdc086bc315601dfc1ea by Halla Rempt, on behalf of L. E. Segovia.
Committed on 27/01/2021 at 14:28.
Pushed by rempt into branch 'master'.

Properly fix GMic layer naming and reordering

M  +1    -1    libs/image/kis_node.cpp
M  +7    -6    plugins/extensions/qmic/kis_qmic_synchronize_layers_command.cpp

https://invent.kde.org/graphics/krita/commit/2050f47221cfe255c177bdc086bc315601dfc1ea