GNOME Bugzilla – Bug 589300
Evince does not react to page switching by keyboard immediately after opening document
Last modified: 2009-07-25 00:39:58 UTC
Steps to reproduce: Open a multi-page document in evince. Attempt to switch pages via the PageUp/PageDown. What should happen: pages switch normally What happens: Input is ignored, no pages switch. Reason: the focused widget is the close button [x] of the thumbnails view in the side pane. Suggested fix: when opening a new document, focus the main (document) area. Other information:
Could you please provide more detailed description on how to reproduce this problem? It does everything right here, the main view is focused for several years already.
(reporting error: version is 2.26.1, not 2.27.x as originally reported) After more digging and 2 installations in a VM where this , it looks like removing all references to sidebar_(page|size|visibility) from the ~/.gnome2/evince/ev-metadata.xml file fixed this issue for me. Further investigation showed that this happens when sidebar_size is 182. Also, larger values are reduced to 182 automatically, thus resizing the sidebar beyond that value has no effect after closing and reopening the document, and the focus will be then in the close button of the sidebar.
I can confirm your assesment about the sidebar in 2.26.1, I don't have other versions to test unfortunately. (I didn't check the exact pixel values) * open document * extend side bar to ~1/3 of screen width * close window * open document * page up / page down don't work Indeed, the side bar reopoens at a smaller size than 1/3 of the screen. By resizing the side bar below the threshold and a close/open cycle, normal behaviour is resumed. -Bartek
It appeared to be some GTK+ madness. Unless window had focus already it assigns another one when window is realized. Fixed, thanks a lot.