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 693077 - GtkRecentManager doesn't send "changed" when file is deleted
GtkRecentManager doesn't send "changed" when file is deleted
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkRecent
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Emmanuele Bassi (:ebassi)
Depends on:
Blocks:
 
 
Reported: 2013-02-03 00:57 UTC by Bastien Nocera
Modified: 2016-04-10 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2013-02-03 00:57:51 UTC
GtkRecentManager doesn't handle the deletion of ~/.local/share/recently-used.xbel properly. Deleting the file doesn't trigger a changed signal, so gvfsd-recent doesn't empty itself, and dirtying recent:/// would cause gvsfd-recent to write down what it thought was the current recent-files, effectively restoring the recently-used.xbel file from memory.
Comment 1 Emmanuele Bassi (:ebassi) 2016-04-10 17:49:02 UTC
Fixed in master.

commit bccef4e41aa45801b96dfd1c33a376d2fa1bb6e6
Author: Emmanuele Bassi <ebassi@gnome.org>
Date:   Sun Apr 10 18:28:01 2016 +0100

    recent-manager: Emit ::changed on file deletion
    
    This will clear out the list of recently used files, and will allow GVFS
    to handle this case.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693077