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 516749 - Have to press space twice to advance in pdf files
Have to press space twice to advance in pdf files
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: PDF
git master
Other Linux
: Normal minor
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 534133 (view as bug list)
Depends on: 524273
Blocks:
 
 
Reported: 2008-02-15 21:41 UTC by Johan Brannlund
Modified: 2008-10-24 09:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
minimal example (latex file) (263 bytes, text/x-tex)
2008-05-23 05:38 UTC, Sebastian Mingramm
Details
minimal example (pdf file) (21.06 KB, application/pdf)
2008-05-23 05:39 UTC, Sebastian Mingramm
Details

Description Johan Brannlund 2008-02-15 21:41:31 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.
Comment 1 Carlos Garcia Campos 2008-02-16 10:37:47 UTC
I can't reproduce it. 
Comment 2 Johan Brannlund 2008-02-16 15:21:36 UTC
I talked to Nickolay Shmyrev on IRC - he also saw this bug.
Comment 3 Johan Brannlund 2008-03-15 23:12:34 UTC
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.
Comment 4 Johan Brannlund 2008-03-17 03:50:33 UTC
A fresh svn checkout of evince also shows this problem.
Comment 5 Carlos Garcia Campos 2008-03-17 08:50:28 UTC
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. 
Comment 6 Sebastian Mingramm 2008-05-08 16:58:19 UTC
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.
Comment 7 Carlos Garcia Campos 2008-05-21 08:08:18 UTC
*** Bug 534133 has been marked as a duplicate of this bug. ***
Comment 8 Johan Brannlund 2008-05-22 16:40:35 UTC
There is a patch in bug #524273 that's supposed to fix this bug, but it didn't work for me.
Comment 9 Carlos Garnacho 2008-05-22 16:50:54 UTC
I'll need to have a deeper look, I thought I identified the cause, now let's try to reproduce it properly...
Comment 10 Sebastian Mingramm 2008-05-23 05:38:33 UTC
Created attachment 111388 [details]
minimal example (latex file)
Comment 11 Sebastian Mingramm 2008-05-23 05:39:08 UTC
Created attachment 111389 [details]
minimal example (pdf file)
Comment 12 Sebastian Mingramm 2008-05-23 05:43:51 UTC
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/
Comment 13 Johan Brannlund 2008-05-31 20:08:32 UTC
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.
Comment 14 Serge Gavrilov 2008-10-22 15:06:52 UTC
Still presents in 2.24.0 :(
Comment 15 Nickolay V. Shmyrev 2008-10-23 22:57:20 UTC
This must be fixed in trunk now.
Comment 16 Wouter Bolsterlee (uws) 2008-10-24 09:15:42 UTC
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.