04-28-2021, 10:42 PM
See https://docs.gimp.org/en/gimp-layer-crop.html :
What you want to do looks more like Layer ➤ Transparency ➤ Alpha to selection followed by Layer ➤ Crop to content.
Quote:This command removes the largest possible area around the outside edge which all has the same color. It does this by scanning the layer along a horizontal line and a vertical line and cropping the layer as soon as it encounters a different color, whatever its transparency.
What you want to do looks more like Layer ➤ Transparency ➤ Alpha to selection followed by Layer ➤ Crop to content.