Oversized Export Window if image has very long comment, can't click save button
Environment/Versions
- GIMP version: 2.99.18 (also tested on 15ffc4a6)
- Package: From gimp.org
- Operating System: Windows 10
Description of the bug
If an image contains a comment, when you try to export the image, it will enlarge the Comment text box to fit the size of the comment, then enlarge the window to fit the size of the text box, even if it is far wider than the screen. If there is a very long comment in there, this can make it impossible to click the button to save the file.
Reproduction
Is the bug reproducible? Yes.
Reproduction steps:
- Create an image
- Go to Image Properties (Image -> Image Properties (Alt+Enter))
- Go to Comment tab
- Type in something really really long (one single line, at least 1000 characters)
- Try to export to a PNG file
…
Expected result: Text box and window should be at a normal size, and the text box for the comment should scroll horizontally to fit the overly long comment
Actual result: Text box becomes extremely wide, and Export Window becomes extremely wide to hold the text box. Can't reach the button that saves the file.