Some keyboard accelerators of the form "<alt>*" don't work
@casey.jao
Submitted by Casey Jao Link to original bug (#782451)
Description
There is a weird problem with Evince's keybindings that seems to result from an underlying problem in GTK3.
As set in ev-application.c, the key combinations "<alt>
P" and "<alt>
N" are assigned to the "win.go-back-history" and "win.go-forward-history" actions, respectively. It turns out that only "<alt>
N" works. Swapping "<alt>
P" and "<alt>
N" in the program code lets me trigger "win.go-back-history" with <alt>
N but breaks the shortcut for "win.go-forward-history". Having launched evince with --gtk-debug=keybindings, it appears that "<alt>
P" is intercepted before reaching the main program as I see several "found exact match, keyval=112" messages.
There seem to be general issues with key combinations of the form "<alt>
*" which are not limited to Evince. If I switch some accelerators in gedit to "<alt>
P" or "<alt>
F" (for example, changing the find shortcut from <Control>
F to <alt>
F), they no longer work despite the fact that gtk_application_get_actions_for_accel reveals no conflicts. However "<alt>
N" works fine.
The "<alt>
P" and "<alt>
N" shortcuts work fine in Evince 3.18 on Ubuntu 16.04. I first noticed the problems in Evince 3.22 and Evince 3.24 installed via flatpak.
Any ideas for what might be happening?
Version: git master