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 479400 - Renamed files vanish from the collection
Renamed files vanish from the collection
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: collection
2.20.x
Other All
: Normal minor
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-23 01:44 UTC by Max Hyre
Modified: 2007-09-23 02:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Max Hyre 2007-09-23 01:44:03 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
Comment 1 Claudio Saavedra 2007-09-23 01:51:13 UTC
Confirming. Investigating it now.
Comment 2 Claudio Saavedra 2007-09-23 02:43:08 UTC
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.