"Auto-size window on zoom" behaviour is weird
GIMP version: v2.10.6
Operating System: Ubuntu 18.04 LTS
Package: from Flathub
Description of the bug
The checkbox in the zoom tool's dialog "adapt window size" (or whatever it is in English) doesn't work as I'd expect it.
If you just click into an image to zoom in or out, the window always stays exactly the same. So even if there's enough room to increase the window to fit the full image, you either have to scroll or resize the window yourself.
If you draw a rectangle with the zoom tool, it does change the windows size, but it doesn't actually zoom into the area that was selected when zooming in. It zooms towards the center of the image, even if you selected an area on the side.