GNOME Bugzilla – Bug 680766
page label is not shown correctly
Last modified: 2013-03-13 21:31:36 UTC
Created attachment 219806 [details] PDF has two pages: label of first page is "a", label of second page is "i" evince doesn't show page labels correctly. The attached PDF contains the statement /PageLabels<</Nums[0<</S/a>>1<</S/r>>]>> which indicates that the first page's label is "a", and the second page's label is "i". However, for the first page, evince shows an empty label, for the second page it correctly shows "i". It might be a bug in poppler and not evince. Not sure about that.
Here's the latex code to create the attached PDF file: \pdfcompresslevel 0 \pdfobjcompresslevel 0 %\listfiles \documentclass{article} \usepackage{hyperref} \begin{document} \pagenumbering{alph} Test \newpage \pagenumbering{roman} Test \end{document}
If it might be a bug in poppler you should tell us your exact poppler and evince versions that you use. Cannot reproduce the bug with evince-3.2.1-2.fc16.i686, poppler-0.18.0-3.fc16.i686.
I reproduced the bug on ubuntu precise (evince 3.4.0, poppler 0.18.4) and Gentoo (evince 2.32.0, I compiled it against poppler 0.18.4 and poppler 0.20.2).
Created attachment 236437 [details] Screenshot showing the correct rendering in Evince 3.4.0 This is Evince 3.4.0/poppler 0.18.4 in Ubuntu 12.04. It renders both page numbers (a and i). Same thing with Evince 3.7/poppler 0.22.1. May you attach a screenshot with the output? Can you try with a newer Evince/poppler/cairo?
Do you see the box in the toolbar, left to the (1 of 2) in your screenshot ? It is empty. It should actually show "a". For page 2 of 2 it will show "i" as it should. Your screenshot is really a confirmation of the problem.
The problem still exists with evince 3.6.1 and poppler 0.20.5. Didn't try any newer versions. Also, sorry if your thought I was talking about the rendering of the PDF the whole time. I'm really just talking about the box in the toolbar, which is to show the page label.
Created attachment 236517 [details] Screenshot that shows the problem Indeed, I thought you were talking about the rendering. Thanks for the clarification. The problem can be also seen in the thumbnails, as shown in the screenshot.
It turned out this is a bug in poppler, not in Evince. Please, follow the bug in https://bugs.freedesktop.org/show_bug.cgi?id=61034
Updated to poppler 0.22.2 and the problem is fixed.