Intra-document hyperlinks jump to wrong page

Bug #443050 reported by Mark Edgington
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
poppler (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

I have generated several presentation PDFs via pdflatex + the beamer class, and have noticed a problem when viewing these documents with okular and evince that does not occur with Acrobat Reader.

Take for example, the PDF at http://latex-beamer.sourceforge.net/beamerexample1.pdf . When loaded in Acrobat Reader, clicking on "Our Model of Absolutely No Space Overhead" in the table-of-contents page jumps (correctly) to page 17 in the document.

If you open the same document with evince/okular and click on the "Our Model..." link, it *appears* to take you to page 17 (this is the number which shows up in the page-number entry-box), but the actual page which is viewed is page 18. If you page-up, and back down, the real page number of the jumped-to page will be shown in the page-number entry-box (i.e. 18).

In general (sometimes for the first link in the TOC this is different), the hyperlinks in the TOC jump to one page further in the document than they should.

I presume this is a problem with the poppler library (as opposed to evince and okular), but correct me if I'm wrong.

In any case there is clearly a difference between what Adobe Reader does and what these poppler-dependent programs do.

Using AMD64 Jaunty (9.04), and libpoppler-glib4 0.10.5-1ubuntu2.2.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

a similar issue was fixed on karmic, could you please try the same there and also attach that pdf file to the report for testing purposes ? Thanks in advance Mark.

Changed in poppler (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Mark Edgington (edgimar) wrote :

I tested it in Karmic with Evince, and when you are in presentation mode (having pressed F5), the linking jumps to the correct page. But, when you are not in presentation mode, it still goes to the wrong page (same as in Jaunty).

The same behavior (good in presentation mode; bad otherwise) occurs with Okular.

As expected, everything works fine with Adobe Reader.

Changed in poppler (Ubuntu):
status: Incomplete → New
Revision history for this message
madbiologist (me-again) wrote :

Confirmed on Ubuntu 10.04 "Lucid Lynx" alpha 2 with poppler updated to the latest available Ubuntu package.

Uname: Linux 2.6.32-10-generic i686
Packages: evince 2.29.5-0ubuntu1
                  poppler 0.12.3-0ubuntu1

Changed in poppler (Ubuntu):
status: New → Confirmed
Revision history for this message
Achim (ach1m) wrote :

Everything seems to work like it should. With the latest updates I can't reproduce this problem.
Please reopen, if the problem is still present for you.

evince:
  Installed: 2.30.0-0ubuntu1
  Candidate: 2.30.0-0ubuntu1
  Version table:
 *** 2.30.0-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

poppler-utils:
  Installed: 0.12.4-0ubuntu4
  Candidate: 0.12.4-0ubuntu4
  Version table:
 *** 0.12.4-0ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Changed in poppler (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Gauthier (gauthier.d) wrote :

I find exactly the same issue (also with the file mentioned above, http://latex-beamer.sourceforge.net/beamerexample1.pdf): Evince jumps to the wrong page and indicates a wrong page number in normal and full-screen mode. Page-Up followed by Page-Down makes the right page number to appear. In presentation mode, everything seems to be fine.

My configuration:
Linux 3.2.0-35-generic
Ubuntu 12.04 (precise) 64-bit
evince: 3.4.0-0ubuntu1
poppler-utils: 0.18.4-1ubuntu2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.