evince does not draw first or last page of PDF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evince |
Fix Released
|
Low
|
|||
evince (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: evince
Note: I found some old bugs that look related (e.g. #383309), but this one is different in that it's *not* about presentation mode. Presentation mode works fine for me.
When I open any PDF with evince, it often fails to redraw when I move to the first or last page. See the attached screenshot: I just clicked on page 1 on the side pane, and evince thinks it's displaying page 1 (see the form at the top saying page 1 out of 10), but actually it is displaying page 2 (as the page contents say). This happens not just when clicking in the side pane, but also when navigating with PageUp/PageDown, although it doesn't happen *every time* I navigate to page 1, and I don't understand the exact conditions.
Steps to reproduce (for me):
1. Open the attached PDF with evince.
2. In the "View" options, enable "Toolbar", "Side Pane" and "Best Fit". Disable everything else.
(Actually, "Toolbar" and "Side Pane" don't seem to matter, but disabling "Continuous mode" is important.)
3. Go to page 1 if not already there.
4. Press PageDown. (Page 2 displays now.)
5. Press PageUp. (Page 2 still displays, although evince says it's displaying page 1.)
Clicking Page 1 now or trying to get it to display some other way doesn't work at this point; the only way I can get it to display is by pressing Ctrl-R.
Same problem with the last page: if I navigate to the last page (page 10) to display, then go up, then down again, it still displays page 9 although it says it's displaying page 10.
ProblemType: Bug
Architecture: i386
Date: Tue Nov 10 15:01:31 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/evince
KernLog:
Package: evince 2.28.1-0ubuntu1
ProcEnviron:
LC_PAPER=
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LC_TIME=
ProcVersionSign
SourcePackage: evince
Uname: Linux 2.6.31-14-generic i686
Changed in evince (Ubuntu): | |
status: | Confirmed → Triaged |
status: | Triaged → New |
status: | New → Triaged |
status: | Triaged → New |
status: | New → Triaged |
Changed in evince: | |
importance: | Unknown → Low |
status: | Unknown → Fix Released |
Update: I tried to reproduce it on a colleague's machine (who is also on karmic and uses the same version of evince), and I can't reproduce it the same way. However, I can reproduce it on both machines like this:
1. Open the PDF attached to the original bug report with evince.
2. In the "View" options, enable "Toolbar", "Side Pane" and "Best Fit". Disable everything else.
3. Go to page 1 if not already there.
4. Keep PageDown pressed (i.e. hold it down) until the page doesn't change any more.
On both of our machines, this ends up showing us page 9, but claiming it is page 10.