Using the scroll wheel in ggv, it's not always possible to hit the top and/or bottom of a page at certain zoom levels. Basically, it seems that if the page position is close enough to the end of the page that another wheel step would take it beyond the end of the page, scrolling the wheel in that direction has no effect. I've seen this in some other apps too (Nautilus), so it could be a gtk bug.
Which version of gtk+ are you using? Also, I can't reproduce this with the ps files I've used. Do you still have offending doc to send me? Tim
[eem12@trillian eem12]$ rpm -q ggv gtk+ ggv-1.0.1-2 gtk+-1.2.9-4 [eem12@trillian eem12]$ This is easy for me to reproduce in ggv with a blank document.
ggv bug; in gtkgs.c void gtk_gs_scroll(GtkGS *gs, gint x_delta, gint y_delta) { gfloat hval, vval; hval = gs->hadj->value + ((gfloat)x_delta)/gs->width; vval = gs->vadj->value + ((gfloat)y_delta)/gs->height; if(hval <= gs->hadj->upper - gs->hadj->page_size/2 && hval >= gs->hadj->lower + gs->hadj->page_size/2) gtk_adjustment_set_value(gs->hadj, hval); if(vval <= gs->vadj->upper - gs->vadj->page_size/2 && vval >= gs->vadj->lower + gs->vadj->page_size/2) gtk_adjustment_set_value(gs->vadj, vval); } should look more like: hval = CLAMP (hval, gs->hadj->lower + gs->hadj->page_size / 2, gs->hadj->upper + gs->hadj->page_size / 2); gtk_adjustment_set_value (gs->hadj, hval); Filed upstream as: http://bugzilla.gnome.org/show_bug.cgi?id=73454