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 529076 - doesn't show duplicate if duplicating after deleting
doesn't show duplicate if duplicating after deleting
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks: 583464
 
 
Reported: 2008-04-20 17:24 UTC by Paolo Benvenuto
Modified: 2015-12-18 16:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix operations on images after deletion (454 bytes, patch)
2009-06-02 22:08 UTC, Marc Pavot
committed Details | Review

Description Paolo Benvenuto 2008-04-20 17:24:14 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.
Comment 1 Michael Chudobiak 2009-05-29 15:40:44 UTC
Marked as a blocker, because the file monitoring really is broken at times. This needs to be fixed.

- Mike
Comment 2 Michael Chudobiak 2009-06-02 17:50:10 UTC
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
Comment 3 Marc Pavot 2009-06-02 22:08:55 UTC
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
Comment 4 Michael Chudobiak 2009-06-03 00:51:11 UTC
Yeah, I had my eye on that piece of code. Thanks, Marc! Committed.

- Mike
Comment 5 Paolo Benvenuto 2009-06-03 07:31:32 UTC
ok! congratulations!!!!
Comment 6 Michael Chudobiak 2015-12-18 16:24:31 UTC
Bug maintenance: changed status to "Resolved", to match the reported "Resolution".