After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157881 - At fit-to-page zoom, it still scrolls
At fit-to-page zoom, it still scrolls
Status: RESOLVED FIXED
Product: gnome-print
Classification: Deprecated
Component: print preview
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-11-10 19:51 UTC by Ken Harris
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Ken Harris 2004-11-10 19:51:27 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...")
Comment 1 Andreas J. Guelzow 2004-11-10 23:06:34 UTC
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.
Comment 2 Ken Harris 2004-11-10 23:36:22 UTC
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.
Comment 3 Andreas J. Guelzow 2004-11-11 19:03:27 UTC
Fixed in cvs head (should be in 2.8.0.1)
Comment 4 Andreas J. Guelzow 2004-11-16 15:57:58 UTC
The bug is back...
Comment 5 Andreas J. Guelzow 2004-11-16 16:48:24 UTC
...adn fixed again. Thanks Jody.