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 603994 - nautilus should remove deleted files from recently-used
nautilus should remove deleted files from recently-used
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: recent backend
unspecified
Other Linux
: Normal major
: ---
Assigned To: gvfs-maint
gvfs-maint
: 609370 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-12-07 16:03 UTC by Jean-François Fortin Tam
Modified: 2016-11-14 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2009-12-07 16:03:45 UTC
1. open a file
2. delete it with nautilus
3. it appears in the shell's recent documents
4. clicking on it points to a nonexistent location.

I'm guessing gnome-shell should monitor gvfs/gio and either update the recently used documents, or delete it from the list.
Comment 1 Florian Müllner 2010-02-09 10:23:26 UTC
*** Bug 609370 has been marked as a duplicate of this bug. ***
Comment 2 Diska 2010-02-22 19:45:06 UTC
i think "recent and deleted" items can be marked with a big X icon over item
Comment 3 Jean-François Fortin Tam 2010-02-22 20:31:53 UTC
Diska, I'm not sure about that...
- what would be the point in showing items that the user cannot make an action upon?
- it would eat up the space that would be otherwise be used for more relevant (ie: not deleted) items.
Comment 4 Diska 2010-02-22 22:35:36 UTC
sorry. I mean if you want to show all recent item like now it's useful to show the one deleted.

what about Zeitgeist integration? If we want to use it like back-end we must know it's rules about deleted item
Comment 5 Jean-François Fortin Tam 2010-02-23 01:25:04 UTC
Nah, the ones that were renamed or moved should be updated, but the ones that were deleted should be removed from the list.
Comment 6 Dan Winship 2011-02-10 14:44:01 UTC
(In reply to comment #0)
> I'm guessing gnome-shell should monitor gvfs/gio and either update the recently
> used documents, or delete it from the list.

It would make much more sense for nautilus to update the recently-used list itself. The deleted recent file will also show up in gnome-panel's recent documents list, and in the "Open Recent File" submenus of any apps that have those, so this isn't really gnome-shell's problem.
Comment 7 Carlos Soriano 2016-11-11 14:55:56 UTC
Moving to gvfs for now, we just do recent:///
Comment 8 Ondrej Holy 2016-11-14 08:52:58 UTC
And we just do gtk_recent_manager_get_items :-D It is not that easy as it looks, maybe we could do some monitoring in GVfs, but marking as a duplicate of GTK+ bug for now...

*** This bug has been marked as a duplicate of bug 143385 ***
Comment 9 Carlos Soriano 2016-11-14 10:40:24 UTC
(In reply to Ondrej Holy from comment #8)
> And we just do gtk_recent_manager_get_items :-D It is not that easy as it
> looks, maybe we could do some monitoring in GVfs, but marking as a duplicate
> of GTK+ bug for now...
> 
> *** This bug has been marked as a duplicate of bug 143385 ***

oh I can imagine :D
Thanks for finding the duplicated