GNOME Bugzilla – Bug 516749
Have to press space twice to advance in pdf files
Last modified: 2008-10-24 09:15:42 UTC
When I view a pdf file in presentation or fullscreen mode, I have to press the space bar twice to move to the next slide. For instance, this happens with the file http://latex-beamer.sourceforge.net/beamerexample1.pdf . If I have evince in a normal window (with continuous mode turned off), this bug does not occur. This is running an Ubuntu Hardy alpha release, evince version 2.21.91 and poppler 0.6.4, using Compiz 0.6.99 (git snapshot from 2008-01-02) as a window manager.
I can't reproduce it.
I talked to Nickolay Shmyrev on IRC - he also saw this bug.
xpdf does not have this bug. Also, evince does not have this problem with all pdf files. For instance, http://www.gnome.org/~dscorgie/GUADEC-2007-djs.pdf works normally.
A fresh svn checkout of evince also shows this problem.
It probably has to do with the transition effects stuff. Adding Carlos Garnacho to CC just in case he can take a look at it.
I can confirm it. I am using gentoo. For me the bug was introduced when updating from evince 2.20.2 and poppler 0.6.4 to evince 2.22.1.1 and poppler 0.8.0.
*** Bug 534133 has been marked as a duplicate of this bug. ***
There is a patch in bug #524273 that's supposed to fix this bug, but it didn't work for me.
I'll need to have a deeper look, I thought I identified the cause, now let's try to reproduce it properly...
Created attachment 111388 [details] minimal example (latex file)
Created attachment 111389 [details] minimal example (pdf file)
I've created an minimal example. To compile the tex file you need the beamer package. http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/
Interestingly enough, PDF files that use transitions (such as when using \transdissolve with the latex beamer package) do not suffer from this bug - in that case, I only need to press space once to move to the next slide.
Still presents in 2.24.0 :(
This must be fixed in trunk now.
http://svn.gnome.org/viewvc/evince?view=revision&revision=3234 2008-10-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view.c (ev_view_change_page), (ev_view_transition_animation_finish), (ev_view_transition_animation_cancel), (page_changed_cb), (ev_view_set_presentation), (ev_view_next_page), (ev_view_previous_page): Cancel the animation without scheduling transition start and proceed to the next page to fix bug #516749.