12-10-2022, 06:54 AM
In the Tool options un-check "Current layer only". When it is set you crop only the layer (that becomes smaller) but not the image canvas. So when you export, the exported image has the size of the canvas, and the space around the layer is filled with the background color.