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 528430 - Displays "-1" as first page
Displays "-1" as first page
Status: RESOLVED NOTABUG
Product: evince
Classification: Core
Component: general
2.22.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 528429 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-16 15:51 UTC by Greg Grossmeier
Modified: 2008-04-16 16:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Greg Grossmeier 2008-04-16 15:51:38 UTC
Please describe the problem:
Originally opened on Launchpad:
https://launchpad.net/bugs/218232
=======

Page count starts from -1 on certain documents.

Steps to reproduce:
Steps to reproduce the problem:
 1) open the file located here http://ulisse.polito.it/matdid/1ing_eln_01EKL_TO_0/Matdid/SEesa202a1.pdf
 2) note that page count starts from -1 and ends at 6 (instead of 1-8 respectively).


Actual results:


Expected results:


Does this happen every time?


Other information:
***
Evince version: 2.20.1

$ lsb_release -rd
Description: Ubuntu 7.10
Release: 7.10

ProblemType: Bug
Architecture: i386
Date: Wed Apr 16 17:11:56 2008
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/evince
Package: evince 2.20.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/evince /tmp/SEesa202a1-1.pdf
ProcCwd: /home/dario
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
Uname: Linux euler 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
Comment 1 Greg Grossmeier 2008-04-16 15:53:27 UTC
Confirmed with Evince 2.22.1.1 and poppler 0.6.4

Acroread displays pages 1-8, not -1-6.
Comment 2 Pedro Villavicencio 2008-04-16 15:56:14 UTC
*** Bug 528429 has been marked as a duplicate of this bug. ***
Comment 3 Nickolay V. Shmyrev 2008-04-16 16:55:22 UTC
It's supposed to be so. We display page labels, not page numbers.
Comment 4 Carlos Garcia Campos 2008-04-16 16:58:50 UTC
Exactly, it seems acroread is not using the page labels for this document. Acording to the document itself the first page label is -1:

/PageLabels << /Nums [ -2 << /S /D /St -1 >> ] >>

I wonder why acroread doesn't use page labels though