GEGL Syntax that has always crashed Gimp now recovers as part of a rescued .xcf file only to crash Gimp again
Environment/Versions
- GIMP version:
- Package:
- Operating System:
Description of the bug
Info for GEGL Graph
id=1 gimp:layer-mode layer-mode=dodge blend-space=lab composite-mode=intersection composite-space=auto aux=[ ref=1]
GEGL Syntax like this example has always made Gimp crash, the moment its typed in Gimp freezes. But Gimp 2.10 would just reload all the saved work. Gimp 2.99.19 rescues the .xcf with the harmful GEGL syntax only for it to crash again if one recovers their work. So if I have twenty .xcf files open I lose all my work due to this invalid GEGL syntax crashing things.
Please make it where a crash in GEGL Graph due to a operation specific issue instructs Gimp to NOT apply it as a non-destructive filter. As I never hit "ok" on this. Even if I did apply syntax and re-edit it the crash happens at the moment of typing or pasting syntax. An alternative route could be to make it where this syntax specifically GEGL op "gimp:layer-mode" doesn't crash Gimp.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Enter
id=1 gimp:layer-mode layer-mode=dodge blend-space=lab composite-mode=intersection composite-space=auto aux=[ ref=1] into Gimp's GEGL Graph filter
- Gimp will crash and offer to restore the .xcf
- The XCF with corrupt GEGL syntax will crash Gimp again
…
Expected result: Gimp doesn't apply the GEGL syntax because I never hit ok.
Actual result: It applies it anyway.
Additional information
If you have a backtrace for a crash or a warning, paste it here.