Zoom 1:1 scrolls partly off image
Submitted by Akkana Peck
Link to original bug (#555493)
Description
Please describe the problem: When enlarging a large but recently cropped image to 1:1 (using the 1 keyboard shortcut), the zoomed image is presented scrolled part-way out of the window, instead of showing as much of the image as possible.
Steps to reproduce:
- Load a large image that's way too big to fit on screen (e.g. 4272x2848). It will load at a very much reduced zoom (18.2% here on a 1280x1024 monitor).
- Use the Crop tool to crop a piece out of the center of the image, but one large enough that gimp still wouldn't show it at 100% zoom (for instance, 936x974 will do it for this monitor size). Note that GIMP retains the same 18.2% zoom, so now the image window is quite small.
- Type 1 (numeral one) in the image window to zoom to full 1:1 size. Now you have a window showing part of the full-size image, with scrollbars, only it's scrolled off the bottom or right edge of the image, so you see less of the image than you ought to see at that size.
Actual results:
Expected results:
Does this happen every time?
Other information:
Version: git master