Temporary directories left behind from composing with dragged attachments
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: yo, Assigned: silvia)
References
Details
Attachments
(1 file, 1 obsolete file)
When adding an attachment from another message, this is stored in the temp directory in a folder pid-NNNN.
The code registers the file itself for deletion here:
https://searchfox.org/comm-central/rev/d47e431b702099ec3bbfa8a8fffe0060d4823497/mail/components/compose/content/MsgComposeCommands.js#7977
but both files and directories are left when TB closes.
Comment 1•9 months ago
|
||
Not so easy to fix since the M-C code only allows for the deletion of files, not directories:
https://searchfox.org/mozilla-central/rev/b1a029fadaaabb333d8139f9ec3924a20c0c941f/uriloader/exthandler/nsExternalHelperAppService.cpp#1127-1130
(Note that bug 1873952 is a duplicate of this bug.)
Updated•9 months ago
|
Comment 3•9 months ago
|
||
Assignee | ||
Comment 4•7 months ago
|
||
Bonus fix: Fix nsMsgCreateTempFile()
so it cleans up after itself and remove second copy of the function.
Depends on D204154
Updated•7 months ago
|
Updated•7 months ago
|
Assignee | ||
Comment 5•7 months ago
|
||
Bonus fix: Fix nsMsgCreateTempFile()
so it cleans up after itself and remove second copy of the function.
Depends on D204411
Assignee | ||
Updated•7 months ago
|
Updated•7 months ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/733d04a27176
Delete pid-NNNN directory for temporary files on exit. r=mkmelin
Description
•