GNOME Bugzilla – Bug 479400
Renamed files vanish from the collection
Last modified: 2007-09-23 02:43:08 UTC
Please describe the problem: (I assume the set of thumbnails under the main photo display is called the collection.) When a third-party application (say, emacs's dired mode) renames a file, that file simply disappear from the collection. Interestingly, if the renamed file is being displayed, it stays in the display. Of course, when you move to a different photo, you can't get back to the one previously shown. Steps to reproduce: 1. Open EOG on a directory with a multiple files in it. 2. From the command line or such, rename one of the files in the collection. 3. Actual results: The renamed file disappears from the collection, with the thumbnails closing into the space where it was. Expected results: The file property would show the new name, and the rest of the display would be unchanged. Does this happen every time? Yes. Other information: It occurs in 2.16.3 also
Confirming. Investigating it now.
Renaming a file is equivalent (from a gnome-vfs perspective) to deleting it and creating it again. Handling the file creation case when mimetype is supported fixes this. Committed to trunk and gnome-2-20 branches. Thanks! This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. 2007-09-22 Claudio Saavedra <csaavedra@alumnos.utalca.cl> * src/eog-list-store.c: (vfs_monitor_dir_cb): Add image to the store on file creation, if the mimetype is recognized. Fixes bug #479400.