Free Select tool polygon and preliminary marching ants don't match
GIMP version: master (probably 2.10.12 too)
Operating System: Linux (probably all)
Package: git
Description of the bug
It is quite easily possible to move the polygon handles without preliminary selection to be updated, it would seem.
Reproduction
Is the bug reproducible? After a few attempts.
Reproduction steps:
- Create a free selection and close it: you get editable polygon + preliminary selection
- Try to move one of the handle but not too much and possibly releasing fast.
Expected result: the selection is recomputed to match the new handle position
Actual result: sometimes you get a mismatch. It is not all the time reproduced, I am guessing there is some timing-related bug at play. Also I reproduce it a lot easier with a tablet pen than with the mouse (probably because it's easier to move and release quickly).
Here is the kind of bad mismatch you can get:
It is not always that bad, sometimes it can be a lot more subtle yet still with a visible mismatch.