2.99.16: Image map crash in grid menu
Environment/Versions
- GIMP version: 2.99.16, also present in GIMP_2_99_16-990-gaeb1c726
- Package: flatpak and compiled from source
- Operating System: Linux
Description of the bug
Ran into a plug-in crash when trying out the grid options in Image map. Saw no crash in stable 2.10.36, but the grid logic seems to be a bit strange already by then, so might be more logic bugs hiding behind the crash.
Some findings: The grid
checkbox also changes the value of the snap to grid
checkbox, which I am not sure is the intended behavior. The opposite is not true, so it is possible to first mark snap to grid
followed by grid
which leads to a crash. Checking grid
followed by unchecking snap to grid
leads to the grid disappearing again even though grid
is still checked.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open an image, choose
Filters->Web->Image map
- Choose
Tools->Grid settings
, mark the checkbox "Snap to grid" - Mark the checkbox
Tools->Grid
- Plug-in crashes
…
Expected result: No crash
Actual result: Plug-in crash