Comment 6 for bug 1277370

Revision history for this message
Attila Hammer (hammera) wrote :

Hi Lars,

In evince 3.10.3-0ubuntu5 package version following keyboard shortcuts not working I think, independent applied a fix this version, quote your patch:
+ "win.open-copy", "<Ctrl>N", NULL,
+ "win.save-copy", "<Ctrl>S", NULL,
+ "win.print", "<Ctrl>P", NULL,
+ "win.copy", "<Ctrl>C", "<Ctrl>Insert", NULL,
+ "win.select-all", "<Ctrl>A", NULL,
+ "win.save-settings", "<Ctrl>T", NULL,
+ "win.go-first-page", "<Ctrl>Home", NULL,
+ "win.go-last-page", "<Ctrl>End", NULL,
+ "win.add-bookmark", "<Ctrl>D", NULL,
+ "win.close", "<Ctrl>W", NULL,
+ "win.escape", "Escape", NULL,
+ "win.find", "<Ctrl>F", "slash", NULL,
+ "win.find-next", "<Ctrl>G", NULL,
+ "win.find-previous", "<Ctrl><Shift>G", NULL,
+ "win.select-page", "<Ctrl>L", NULL,
+ "win.go-backward", "<Shift>Page_Up", NULL,
+ "win.go-forward", "<Shift>Page_Down", NULL,
+ "win.go-next-page", "n", NULL,
+ "win.go-previous-page", "p", NULL,
+ "win.sizing-mode::fit-page", "f", NULL,
+ "win.sizing-mode::fit-width", "w", NULL,
+ "win.open-menu", "F10", NULL,
+ "win.zoom-in", "plus", "<Ctrl>plus", "KP_Add", "<Ctrl>KP_Add", NULL,
+ "win.zoom-out", "minus", "<Ctrl>minus", "KP_Subtract", "<Ctrl>KP_Subtract", NULL,
+ "win.show-side-pane", "F9", NULL,
+ "win.fullscreen", "F11", NULL,
+ "win.presentation", "F5", NULL,
+ "win.rotate-left", "<Ctrl>Left", NULL,
+ "win.rotate-right", "<Ctrl>Right", NULL,
+ "win.inverted-colors", "<Ctrl>I", NULL,
+ "win.reload", "<Ctrl>R", NULL,
+ NULL

I tested for example the CTRL+A, CTRL+C, CTRL+P, CTRL+S, CTRL+HOME, CTRL+END, n, SHIFT+N, CTRL+F, F10 shortcuts with enabled caret navigation support.
Can you fix this issue to this added shortcuts works good?
If your testing system doesn't producing any issue, because possible when I debugging this evince related issue have a corruption my system, what other packages need installed in Ubuntu Trusty to F10 key opening for example the menu in Evince?
Testcase, need trying this testcases with gnome-classic session:
1. Launch evince.
2. Press F10 key.
Expected result: opening the menu.
Actual result my system: nothing happening.

Another testcase:
1. Open evince a pdf document.
2. Press CTRL+S keystroke.
Expected result: the save dialog will be presenting the screen.
Actual result: nothing happening my system.

A question:
If you added this keystrokes the 0001-Port-to-GMenuModel-and-add-menu-bar.patch, sure need keeping the 0002-Remove-gtk_application_set_accels_for_actions.patch?

Attila