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 589300 - Evince does not react to page switching by keyboard immediately after opening document
Evince does not react to page switching by keyboard immediately after opening...
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
2.26.x
Other All
: Normal minor
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-21 21:59 UTC by Tassos Bassoukos
Modified: 2009-07-25 00:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Tassos Bassoukos 2009-07-21 21:59:15 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:
Comment 1 Nickolay V. Shmyrev 2009-07-21 22:03:19 UTC
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.
Comment 2 Tassos Bassoukos 2009-07-22 09:08:23 UTC
(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.
Comment 3 Bartek Kostrzewa 2009-07-22 10:13:56 UTC
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


Comment 4 Nickolay V. Shmyrev 2009-07-25 00:39:58 UTC
It appeared to be some GTK+ madness. Unless window had focus already it assigns another one when window is realized.

Fixed, thanks a lot.