GNOME Bugzilla – Bug 665856
Best fit is too tall
Last modified: 2012-11-12 09:43:35 UTC
Hi! When using "Best fit" in "continuous view mode", the PDF page is too tall by a few millimeters. I.e. the vertical scrollbar is still present because it is still possible to move the page vertically by a tiny amount. It is a bit strange that even though the vertical scrollbar is visible and moves the page up and down by this tiny amount, the whole page is visible at all times. IMHO, "best fit" should mean the largest possible view without any scrollbar need. I.e., "best fit" should make the page so small that horisontal and vertical scrollbars automatically disappear. Best regards Torquil Sørensen
Hi, thanks for your interest in evince. Could you please explain more? ARe you talking about a document with only one page? Otherwise, in "best fit continuous mode" you should always get a scrollbar so you can change pages... And with one page in the same mode, I don't get a scrollbar, so if possible attach a pdf file so we can reproduce the issue.
Created attachment 203189 [details] One-page PDF
(In reply to comment #1) > Hi, thanks for your interest in evince. Could you please explain more? ARe you > talking about a document with only one page? Otherwise, in "best fit continuous > mode" you should always get a scrollbar so you can change pages... And with one > page in the same mode, I don't get a scrollbar, so if possible attach a pdf > file so we can reproduce the issue. Hi! Yes I meant one-page PDF documents, in continuous mode and "best fit". The vertical scrollbar is still present and allows me to move the document a tiny amount up and down. I attached a one-page example PDF.
confirming
Created attachment 228186 [details] [review] small patch to fix the issue. Carlos, here is a small patch that would fix the issue. I don't understand why the zoom is slightly different (before the patch), in continuous and single page mode.
I don't know either.
Review of attachment 228186 [details] [review]: Ok, push the patch to git master only, please. Thanks!
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.