GNOME Bugzilla – Bug 705846
Print shortcut (Ctrl+P) fails when sidebar has focus
Last modified: 2014-02-23 10:37:41 UTC
To see the problem: 1. Open any PDF file. 2. Click on any sidebar item (such as one of the pages in the Thumbnails or Index views). 3. Press Ctrl+P to print. Nothing happens. Oddly, other keyboard shortcuts such as Ctrl+W (Close) work just fine in this situation.
What is happening is: In the sidebar, Ctrl+P goes to the previous thumbnail. Similarly, Ctrl+N goes to the next thumbnail. None of them select the page, but there is a dotted line around the thumbnail. I would think that is related with the listview behavior.
Hi, I am interested in this bug, can anyone help me with fixing this bug ?
Created attachment 261460 [details] [review] Unbind the iconview's ctrl+p If you want to do this, it can be done very simply by unbinding the iconview's default bindings (https://developer.gnome.org/gtk3/stable/gtk3-Bindings.html though I think there is a bug in the docs there Bug 715173)
It's a bit inconsistent to leave CTRL+N to go to the next thumbnail but unbind CTRL+P. Wouldn't it be possible to bind it to a different shortcut instead? or unbind both otherwise.
Created attachment 270044 [details] [review] Unbind GtkIconView's Ctrl+p and Ctrl+n Modified Micheal Wood's patch to unbind both Ctrl+P and Ctrl+N. The same feature is also bound to Ctrl+Up and Ctrl+Down by default. Now, Ctrl+P opens print dialog box and Ctrl+N opens a copy (default behavior in evince).
Comment on attachment 270044 [details] [review] Unbind GtkIconView's Ctrl+p and Ctrl+n Pushed to git master, thanks!