Wrong selection used when doing Color>Invert on a not visible saved selection channel
GIMP version: 2.10.14 Linux flatpak
Description of the bug
Color>Invert
is not applied to selection if the channel is a saved selection
Reproduction
Is the bug reproducible? Always Reproduction steps:
- Create a non-rectangle selection (ellipse, quickmask)
Select>Save to channel
- On the saved channel:
Colors>Invert
…
Expected result: Color is inverted
Actual result: The bounding box of the selection is painted white
Additional information
- Could be related to #4218 (closed)
- Making the channel visible before doing
Color>Invert
fixes the problem - Instead of
Color>Invert
, dragging a color from the swashes also use the wrong selection
Edited by Michael Schumacher