Open Bug 281199 Opened 21 years ago Updated 3 years ago

temporary file not removed when opened with "default application"

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: timo.lindfors, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 Clicking a link to a PDF and choosing "Open it with the default application (/usr/bin/xpdf)" leaves the downloaded file in /tmp even after xpdf has exited. This behavior probably happens with other file types too but it's most annoying with PDFs. Reproducible: Always Steps to Reproduce: 1. Open URL http://www.cs.utexas.edu/users/EWD/ewd13xx/EWD1300.PDF 2. Choose "Open it with the default application (/usr/bin/xpdf)" 3. Wait for xpdf to start and then close xpdf Actual Results: The downloaded file is still in /tmp: $ ls -l /tmp/EWD1200.PDF -rw------- 1 lindi lindi 312282 Feb 5 18:57 /tmp/EWD1300.PDF Expected Results: The downloaded file should have been removed when the "default application" exits.
does the file get removed when you quit mozilla?
Assignee: download-manager → file-handling
Component: Download Manager → File Handling
Product: Mozilla Application Suite → Core
QA Contact: ian
Version: unspecified → Trunk
Aha, indeed, the file gets removed when I quit mozilla. However, thanks to the great stability of mozilla I quit mozilla quite rarely :=) I usually have mozilla running for months under a VNC session. If I open 10 PDFs every day (and each is about 1M) my /tmp will be filled in a month or so. On the other hand I realize that detecting when xpdf has exited might be tricky to achieve.
Not only that, but users expect the file to be there even after they quit xpdf, until Mozilla quits...
*** Bug 306858 has been marked as a duplicate of this bug. ***
Assignee: file-handling → nobody
QA Contact: ian → file-handling
Product: Core → Firefox
Version: Trunk → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.