GNOME Bugzilla – Bug 524996
Images are re-imported (as duplicates) if there are spaces in the filename
Last modified: 2008-03-29 18:21:48 UTC
Please describe the problem: When you import photos from a folder (and deselect 'Copy Photos') a check is made to see if the photo already exists in the database (in which case it is not added). However, the photo names in the database have spaces (and other characters) replaced by hex escape sequences (' ' => '%20'), so the check fails to find a match where there is a space in the file name. Steps to reproduce: 1. Set up a folder with an image with a space in its filename 2. Import the folder into F-spot (with 'Copy photos' unticked) 3. Repeat step 2. Actual results: Photo will appear twice in the database (thumbnail appears twice on browse screen). Expected results: Photo should only appear once in the database. Does this happen every time? Yes. Other information: I have a working fix for this and will attach it as soon as I have done a diff of it.
Having checked out the latest version from SVN, I find it is already fixed. I guess I'll just have to wait for 0.4.3.