GNOME Bugzilla – Bug 621117
When sending an email, temp file is removed if clicking an another item
Last modified: 2010-06-15 10:15:07 UTC
The big is different from the one which has been fixed in this commit: http://git.gnome.org/browse/f-spot/commit/?h=stable-0.6&id=4641e0b5183778dabcbaa37fce6d3c82dfd1a106 and still present on git head. The test case is simple: - In F-Spot: File -> send email - Now, f-spot creates a temporary jpg-file in /tmp and opens your email agent. - If you switch back to f-spot and change the perspective (e.g. double-click on another image), f-spot deletes the temporary file and sending mail is not possible anymore This use case is maybe the main one as people probably want to send multiple email and browsing for the best one. Do not hesitate if you need more info or tests.
Hey Didier, I tried to reproduce this but wasn't able to. I tried what you described: 1. Open F-Spot and select a photo. 2. Click File > Send Mail (mail editor opens, in my case evolution) 3. Go back to F-Spot and select another photo 4. Go back to mail editor and hin "Send" I sent the mail to myself and it worked fine. Could you please check that again with lastest git and if it still occurs describe in smaller steps what you're doing. btw. What's your mail client? Possible that evolution handles attachments different from other mail programs.
@Paul: Evolution handle differently than thunderbird on that regard. As my initial bug report state, just have a look in /tmp: Before step "3.": you will see a file in /tmp corresponding to the attachement created by f-stop After your step "3.", no more /tmp file. This is fine for Evolution as it seems to take a backend but other mail client like thunderbird rely on the file still beeing there.
I really can't reproduce this (on git master). The temporary file is never deleted for me. Might even be Thunderbird unlinking it (I use evolution too). Could you test this again, with latest master?
The last today git head failed to build for me. So, couldn't try. However, I think I didn't describe well what I meant by "select another photo" (I'm using evolution too, no issue for me, but some of our users are using thunderbird which unlinks it, I guess): 1. Open F-Spot and select a photo. 2. Click File > Send Mail (mail editor opens, in my case evolution) 3. ls /tmp -> you see the temp file 4. Go back to F-Spot and select another photo in *double clicking it* 5. ls /tmp -> no more temp file
What kind of build failure are you running into? (be sure to re-run autogen.sh in case of problems and/or make clean before building) I would love to get this fixed for you but the thing is: I cannot reproduce this and there are no code paths in there that would cause the file to be removed by F-Spot (unless I'm missing something). Temp files stay where they are on my system. Are you sure you are not running into conflicts with a system-installed copy of F-Spot?
Turns out to be fixed after debugging on IRC.