Bug 475820 - Wrong order of input layers in G'MIC for Krita
Summary: Wrong order of input layers in G'MIC for Krita
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: G'Mic for Krita (show other bugs)
Version: 5.2.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-19 04:17 UTC by soggykdebug
Modified: 2023-10-19 04:17 UTC (History)
0 users

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 soggykdebug 2023-10-19 04:17:30 UTC
SUMMARY
Some filters in G'MIC for Krita allow for multiple input layers. One of them is Colorize Lineart which is very crucial in my workflow. I usually have the layers ordered like this: 
- color spot (Active)
- ink
and use "Active and below" mode in Input layers dropdown. In version 5.2.0 however it seems like the order of input layers is backward. Instead of picking "color spot" layers as active it's now picking "ink" layer as the active one and the "below" layer is the "color spot" layer. This behavior didn't happen in 5.0.6. (I don't know in 5.1.x)

STEPS TO REPRODUCE
1. Open Krita
2. Make a new layer. Draw something in this layer, we'll call this "ink"
3. Make another layer on top of "ink"  layer, call this layer "color spot".  Draw some blobs here, and make sure this layer is the active layer
4. Open GMIC -> Black&White -> Colorize Lineart [Smart Coloring], set colorize mode to "Extrapolate color spots on transparent  top layer", set input layers as "Active and below".

OBSERVED RESULT
"ink" layer is picked as the top layer.

EXPECTED RESULT
"color spot" layer is picked as the top layer.

SOFTWARE/OS VERSIONS: 
Krita v5.2.0 - Qt 5.15.7 - G'MIC-QT for Krita 3.2.4 - macOS 13.4 64 bits