Color>Invert doesn't work on saved selection channel or copied RGB channel
GIMP version: 2.10.14 Linux flatpak
Description of the bug
Color>Invert results is a completely white channel if the channel is is a saved selection or a copy of one of the R/G/B channels.
Is the bug reproducible? AlwaysReproduction steps:
- Load an image
- Make a selection
- Select>Save to channel
- Color>Invert on the copied channel
Expected result: The channel is a negative copy of the source
Actual result: The channel is completely white
- Instead of saving the selection, one can also drop/copy on of the RGB channels.
- This breaks the well known sg-luminosity-masks.scm.
- Problem appeared with 2.10.14 it seems