Setting the period to 0 in the Linear Waves distortion filter might crash GIMP
GIMP version: 2.10.14
Operating System: macOS Sierra (version 10.12.6)
Package: Installer from gimp.org
Description of the bug
Inside the Waves (linear waves) Filter: If you set the “Period” slider to zero, GIMP crashes, especially if you do this multiple times, but only if Preview is turned on.
Reproduction
Reproducible?: It’s a little random how quickly the crash occurs, but it is reproducible.
Reproduction steps:
- Open an image
- Go to Filters > Distortion and select Waves (the first entry).
- Turn Preview on if it’s not already.
- Set Wave type to Sawtooth.
- Drag the Period slider left (to zero) and right repeatedly until GIMP freezes/crashes.
@ Step 2: I’m talking about the linear waves filter. Please test whether the bug occurs with the radial waves filter too. @ Step 4: Please test whether this bug occurs with other wave types too
Expected result: The image preview shows no effect being applied
Actual result: The image preview shows no effect being applied, but sometimes GIMP freezes while trying to update the preview …
Additional information
None