Save/Save as defaults to incorrect file extension after using "slice using guides"
Environment/Versions
- GIMP version: 2.10.32
- Package: Manjaro repositories
- Operating System:Linux
Description of the bug
"Save" or "Save as" normally defaults to the correct ".xcf" file extension. However, after using "Slice using Guides", the file extension defaults to that of the original file (IE, after slicing a tiff, it defaults to ".tif", for a jpeg, ".jpg". And unless manually changed, Gimp then (naturally) refuses to save an XCF file with that extension
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Import any non-xcf file.
- Drag some guides into the image.
- Operate the "Slice Using Guides" tool.
- Select one of the image slices.
- Save or Save As.
…
Expected result: default file extension in the save dialogue should be .xcf
Actual result: default file extension is that of the originally imported file.
Additional information
If you have a backtrace for a crash or a warning, paste it here.