GNOME Bugzilla – Bug 157881
At fit-to-page zoom, it still scrolls
Last modified: 2004-12-22 21:47:04 UTC
1. Open a print preview window. It starts out in "Zoom to fit whole page" mode, but you can click this (second magnifying glass) again to make sure. 2. Press page-down. It scrolls, a teeny bit. (There's 3 pixels of scroll possible in fit-to-page zoom mode.) Expected: If the page is really fit to the window, no scrolling should be possible. The upshot of this is that if you press "page down" to go to the next page, you have to press it twice for every page: the first time you press it, it scrolls 3 pixels down to the bottom of the page, which is easily missed if you aren't watching carefully. If I start on page 1 in fit-to-window mode and press page-down 4 times, for example, I end up on page 3, but I think I should be on page 5. This makes it especially confusing to explain to people. ("Page-down to page 3 ... er, you have to hit page-down a couple more times now ... um, that's because...")
There is no guarantee that you will not scroll even after a fit-to-window even if there weren't the 3 pixel problem you described, since there is a maximum and minimum zoom level.
OK, but I'm nowhere near the minimum or maximum zoom levels. There may be no guarantee at the edge cases, but for normal use it shouldn't scroll. Actually, if I make the window as small as possible (150 x 150 px), fit-to-window works perfectly. This problem only occurs at normal sizes.
Fixed in cvs head (should be in 2.8.0.1)
The bug is back...
...adn fixed again. Thanks Jody.