GNOME Bugzilla – Bug 702360
[Regression] Don't show deleted files in recent menu
Last modified: 2018-05-22 15:11:06 UTC
According to https://bugzilla.gnome.org/show_bug.cgi?id=339171#c6 "inexistent files are not shown in recent menu, but they are not explicitly removed from recent list, [...]" 3.4.0 behaves as expected, but in master I see even the deleted files. Steps to reproduce it. 1. Copy a pdf file to ~/foo.pdf 2. Open ~/foo.pdf 3. Close evince 4. delete ~/foo.pdf 5. Open evince foo.pdf is listed in the recent menu, but it should not.
Created attachment 248674 [details] [review] Use gtk_recent_info_exists to make sure the resource exists The patch ensures that if the file is local and it does not exist, it will not be displayed in the recent menu. In case of remote resources, they can be given a benefit of doubt and be allowed to be displayed in the recent list.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/369.