After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 702360 - [Regression] Don't show deleted files in recent menu
[Regression] Don't show deleted files in recent menu
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-15 19:07 UTC by Germán Poo-Caamaño
Modified: 2018-05-22 15:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use gtk_recent_info_exists to make sure the resource exists (952 bytes, patch)
2013-07-08 23:19 UTC, aakash
none Details | Review

Description Germán Poo-Caamaño 2013-06-15 19:07:46 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.
Comment 1 aakash 2013-07-08 23:19:32 UTC
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.
Comment 2 GNOME Infrastructure Team 2018-05-22 15:11:06 UTC
-- 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.