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 686135 - Deletes and creates every file in the list every time
Deletes and creates every file in the list every time
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: recent backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-15 07:41 UTC by Bastien Nocera
Modified: 2013-10-31 19:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
recent: Prevent spurious monitor notifications (2.00 KB, patch)
2013-10-27 15:21 UTC, Ross Lagerwall
accepted-commit_now Details | Review

Description Bastien Nocera 2012-10-15 07:41:41 UTC
Every time there's a change in the recent files list, every single file is deleted and then recreated.

$ gvfs-monitor-dir recent:///
and open a file in gedit for example.
Comment 1 Ross Lagerwall 2013-10-27 15:21:40 UTC
Created attachment 258221 [details] [review]
recent: Prevent spurious monitor notifications

Ignore nonexistent files completely to prevent them being repeatedly
deleted and then re-added to the list of files.
Comment 2 Ondrej Holy 2013-10-31 15:53:13 UTC
Review of attachment 258221 [details] [review]:

It looks good.
Comment 3 Ondrej Holy 2013-10-31 15:53:14 UTC
Review of attachment 258221 [details] [review]:

It looks good.
Comment 4 Ross Lagerwall 2013-10-31 19:49:28 UTC
Pushed to master as 9c11445c. Thanks!