GNOME Bugzilla – Bug 529076
doesn't show duplicate if duplicating after deleting
Last modified: 2015-12-18 16:24:31 UTC
Reproduce it this way. 1- In View as Slides Duplicate an image: after a second, you'll see the duplicate. 2- Delete the duplicate, it desappears, and it's actually deleted. 3- Duplicate again the same image: the duplication is done, but you won't see the duplicate in the slides view until you manually reload the slides (crl-r, or with the menu). The bug is present whatever operation you perform with the other images in the same folder. On the contrary, if you change folder and go back to the previous one, after duplicating the duplicate is correctly shown.
Marked as a blocker, because the file monitoring really is broken at times. This needs to be fixed. - Mike
Marc, Can you look at this monitor problem? It is easily reproducible. To reproduce: 1. Select an image in the browser 2. Right-click -> duplicate. The new thumbnail should appear. 3. Select the duplicate and delete it. 4. Select the original image again and right-click -> duplicate again. The new thumbnail should appear, but does not. - Mike
Created attachment 135851 [details] [review] Fix operations on images after deletion Hi Mike, The problem is not in gth-monitor but in gth-file-list. When a file is deleted, it is not removed from the file list and so the following file creation is not taken into account. This patch should fix the bug. Marc
Yeah, I had my eye on that piece of code. Thanks, Marc! Committed. - Mike
ok! congratulations!!!!
Bug maintenance: changed status to "Resolved", to match the reported "Resolution".