GNOME Bugzilla – Bug 495105
Open recent file keyboard shortcuts do not work correctly
Last modified: 2014-04-28 20:20:47 UTC
Please describe the problem: The open recent file keyboard shortcut, <Alt-F> <R><num>, will only open the first file requested. All other attempts beyond the first are ignored. Steps to reproduce: 1. With an existing set of recently edited .glade files, launch glade3. 2. Hit <Alt-F> <R><num> where num is any file item shown in the list. 3. Attempt to repeat step 2. Actual results: The first file is opened, but no others can be opened. Expected results: Any arbitrary number of files requested with <Alt-F> <R><num> should be opened. Does this happen every time? Yes Other information: Using the mouse to click on the menu items works correctly.
Interesting... years later and this is still a bug :-/
Created attachment 275370 [details] Simple test case This test case demonstrate this is not specific to Glade. It creates menubar with a GtkRecentChooserMenu submenu and connects to the "item-activated" signal and calls gtk_recent_chooser_get_current_uri() in the handler to get the selected uri
Created attachment 275371 [details] [review] Proposed patch When activating an item using mnemonics GtkRecentChooserMenu does not select a item before calling the item-activated signal thus gtk_recent_chooser_get_current_uri() always return the last selected item instead of the activated one
Review of attachment 275371 [details] [review]: Patch works fine. Just put the explanation from the comment into the commit message.
Done! Pushed to master and gtk-3-12 branch