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 767284 - recentmanager doesn't send "changed" signal on renamed, deleted or moved files (Ubuntu)
recentmanager doesn't send "changed" signal on renamed, deleted or moved file...
Status: RESOLVED DUPLICATE of bug 137278
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-06-06 09:05 UTC by owezahra
Modified: 2016-06-10 11:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
min coding example (637 bytes, text/x-python)
2016-06-06 09:05 UTC, owezahra
Details

Description owezahra 2016-06-06 09:05:33 UTC
Created attachment 329173 [details]
min coding example

I'm using the recentmanager to get a list of recent files (and make quicklists out of them, see https://github.com/thirschbuechler/ubuntu-recentquicklists).

My problem is that whenever something gets moved or deleted, no "changed" signal is emitted and therefore the quicklists have dead elements in them.

However, if a file gets accessed or modified it works fine.


Reproduction:
-execute the min-coding-example file in terminal, create file "test" (i.e. on Desktop)
-changing file results in updating
-deleting, renaming or moving it doesn't


Python 3.4.3+, GTK 3.16.7 (according to http://stackoverflow.com/questions/12541328/python3-how-can-i-find-out-what-version-of-gtk-i-am-using)

(Ubuntu 14.04 x64, Ubuntu 15.10 x64)
Comment 1 Christoph Reiter (lazka) 2016-06-10 11:21:13 UTC
As far as I can see GtkRecentManager does not track the resources it references, so this is to be expected. You only get "changed" signals if someone changes the list.

Anyway, not a PyGObject problem, so moving to gtk+.
Comment 2 Emmanuele Bassi (:ebassi) 2016-06-10 11:23:32 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 137278 ***