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 783221 - Key binding ctrl-right not consistently bound
Key binding ctrl-right not consistently bound
Status: RESOLVED DUPLICATE of bug 727529
Product: evince
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-30 00:04 UTC by John Pye
Modified: 2018-02-27 17:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shell: Unbind Ctrl-Left and Ctrl-Right from the scrolledwindow (1.05 KB, patch)
2018-02-27 16:54 UTC, José Aliste
none Details | Review

Description John Pye 2017-05-30 00:04:03 UTC
I use the `ctrl-left` and `ctrl-right` key bindings to rotate a PDF document in Evince 3.18.2

However, when the documen is zoomed in so that less than one full page is visible within the window, the rotation actions are no longer applied, and instead the view moves left and right, as though I am typing `left` and `right` instead of `ctrl-left` and `ctrl-right`.

This looks to be a problem with the event handling in Evince. Perhaps when a document is zoomed in, extra event handlers are added, and they are gobbling up my `ctrl-left` and `ctrl-right` commands inadvertently?

I have not been able to check with a newer version yet, sorry.
Comment 1 José Aliste 2018-02-27 16:54:43 UTC
Created attachment 369044 [details] [review]
shell: Unbind Ctrl-Left and Ctrl-Right from the scrolledwindow

The GtkScrolledWindow binds Ctrl-Left and Ctrl-Right. Since we are
using these as shortcuts for Rotate left and right, and the evince
window sends the keypress event to widgets before processing Application
shortcuts, we need to unbind these to avoid conflict between the two.
Comment 2 José Aliste 2018-02-27 17:09:57 UTC

*** This bug has been marked as a duplicate of bug 727529 ***