Closed
Bug 318048
Opened 20 years ago
Closed 17 years ago
viewing source in external editor never deletes the temp. file
Categories
(Toolkit :: View Source, defect)
Toolkit
View Source
Tracking
()
RESOLVED
FIXED
mozilla1.9.1b1
People
(Reporter: Biesinger, Assigned: jason.barnabe)
Details
Attachments
(1 file)
|
2.80 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
from bug 172817
------- Comment #127 From Jason Barnabe (np) 2005-11-28 14:15 PST [reply] -------
(In reply to comment #126)
> am I reading this right that the temporary files are never deleted?
Never deleted by us. Since it's in the system temp directory, the OS will
delete them whenever it sees fit.
[...]
------- Comment #128 From Christian Biesinger (:bi) (reviews slower than usual) 2005-11-28 14:19 PST [reply] -------
what if the OS doesn't? (e.g. FC4, Windows)
------- Comment #129 From Jason Barnabe (np) 2005-11-28 14:48 PST [reply] -------
(In reply to comment #128)
> what if the OS doesn't?
Then the file will stay there forever. If you think this is a problem, feel
free to file a new bug.
| Assignee | ||
Comment 1•20 years ago
|
||
FMI, what do you feel is the problem with leaving the temp files? Privacy concerns? Hard drive space?
| Reporter | ||
Comment 2•20 years ago
|
||
privacy + cluttered up /tmp directory (still annoyed that fc4 doesn't kill it on startup). and of course the general principle that apps should clean up their temp data.
| Assignee | ||
Comment 3•19 years ago
|
||
nsPIExternalAppLauncher seems to expect the file to exist when you register it. (Maybe that should be documented?) Putting the new code in getTemporaryFile made the file deletion hit or miss, so I moved the code to after we're done writing to the file.
| Assignee | ||
Updated•19 years ago
|
Attachment #211498 -
Flags: review?(mconnor) → review?(mano)
Comment 4•19 years ago
|
||
Comment on attachment 211498 [details] [diff] [review]
patch
[Checkin: Comment 8]
Moving the request over to gavin since I cannot test this on mac, sorry for the ver long delay here.
Attachment #211498 -
Flags: review?(mano) → review?(gavin.sharp)
Comment 5•19 years ago
|
||
Comment on attachment 211498 [details] [diff] [review]
patch
[Checkin: Comment 8]
r=me, but it might be worth filing a bug about documenting the restriction that deleteTemporaryFileOnExit's argument be an existing file, or removing it. It would also be good to have a bug filed on http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/uriloader/exthandler/nsIExternalHelperAppService.idl&rev=1.24&mark=90-92#89 .
Attachment #211498 -
Flags: review?(gavin.sharp) → review+
Updated•17 years ago
|
Product: Firefox → Toolkit
Comment 6•17 years ago
|
||
biesi: Did you forgot this patch ?
Comment 8•17 years ago
|
||
Comment on attachment 211498 [details] [diff] [review]
patch
[Checkin: Comment 8]
I manually "applied" it to current Hg tree.
http://hg.mozilla.org/mozilla-central/rev/7a7bb7cbbc3d
Attachment #211498 -
Attachment description: patch → patch
[Checkin: Comment 8]
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite-
Flags: in-litmus?
Keywords: checkin-needed
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b1
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•