Closed
Bug 369375
Opened 18 years ago
Closed 18 years ago
dont delete attachments from temp if they have been modified
Categories
(Thunderbird :: General, enhancement)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 220808
People
(Reporter: mozilla, Assigned: mscott)
Details
User-Agent: Mozilla/5.0 (X11; Linux i686; U; en; rv:1.8.0) Gecko/20060728 Firefox/1.5.0 Opera 9.10
Build Identifier: 20070203
After opening an OpenOffice document attachment from thunderbird I began editing the file. After making my modifications I saved the document and quit OpenOffice. I then quit Thunderbird. I started OpenOffice again and tried to load the document but it had been removed by thunderbird.
Reproducible: Always
Steps to Reproduce:
1. Open an attachment by double clicking it in thunderbird
2. Edit the document
3. save the document
4. close the editor
5. close thunderbird
6. open the editor
7. attempt to open the document
Actual Results:
The document can not be loaded because thunderbird removed it.
Expected Results:
Thunderbird should compare the size and modification time of attachments with the known modification time before removing them. If the file has been altered then thunderbird should not remove the file - possibly informing the user that the file has been left intact and should be moved out of the volatile location - perhaps even offering to perform the move.
I was suckered into not saving elsewhere because the document had the full filename "Some kind of Document.odt". Normally when I tell thunderbird to save an attachment it defaults to my Desktop or Document folder - in this case, however, since I opened the document by double clicking it it was stored in my temporary folder (/tmp/user/%uid%).
Comment 1•18 years ago
|
||
Leaving a file somewhere in the temp directory would be bad given that the temp directory is hidden on windows for example.
bug 220808 is a better solution (save it read-only and the external application has to ask if it wants to save it).
I hope you are ok with the duping to bug 220808
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•