GNOME Bugzilla – Bug 666034
gtkfilechooserdefault fails to add saved files to recent manager
Last modified: 2011-12-13 17:09:44 UTC
_g_local_file_info_get() (which is what recent manager eventually calls for local files) always fails for non-existent files, and causes gtk_recent_manager_add_item_query_info() to fail with g_warning. This is not fatal, but quite annoying, considering the fact that gtkfilechooserdefault is perfectly aware (see name_entry_get_parent_info_cb()) of the fact that the file does NOT exist, and still tries to push it into the recent manager. Also, it is unclear why non-existent files can't be added to recent manager (adding a directory where file was saved could be ok).
/me blames http://git.gnome.org/browse/gtk+/commit/gtk/gtkfilechooserdefault.c?h=gtk-2-24&id=119df7415e532830e8c1f744edb0014b785e9bc4 (before that filechooserdefault did not call add_selection_to_recent_list() as often)
I fixed this in the master branch recently, and now it's in the gtk-2-24 branch as well. So, I'll mark this bug as a duplicate. The file chooser should now properly save things to the recently-used list from the Save dialog. *** This bug has been marked as a duplicate of bug 662814 ***