I have an indexed image with multiple instances of the same color in the palette. For example, I have #00FF21 color on indexes 3, 11, 27 and 40.
I'd like to apply certain indexed color (e.g. 27) to some pixels on my image. I pick 27th color from the palette as a foreground color and then use pencil to paint pixels.
Everything seems to be OK, but when I check the newly colored pixels with eye-dropper tool, I see that they have index 3, not 27.
It looks like GIMP ignores the chosen index, so the first index occurrence is applied.
Is it a bug? Or am I doing something wrong?
Here's the example video.