Bug 68001 - Longer timeout for deleting temporary attachments stored on disk
Summary: Longer timeout for deleting temporary attachments stored on disk
Status: RESOLVED DUPLICATE of bug 39537
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 15:23 UTC by chris-kde
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris-kde 2003-11-12 15:23:28 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.2 
OS:          Linux

When viewing an attachment, the temporary file created for the application is often deleted too soon.

This is especially a problem when viewing attachments in Open Office since it can take some time to load. Usually in that time I will read the next message in my inbox to pass the time, unfortunately, kmail takes this as a cue that I have finished with the other message and it's attachment and it deletes the attachment that open office was supposed to load.

Perhaps such temporary files could be cleaned up after a certain time out? Or upon exit of kmail?
Or if you wanted to be more accurate, perhaps you could track the process that was launched to view the attachment and wait for that process to exit? Though sometimes that might not be accurate, so maybe combine the two - eg delete the message either when the process exits or when you view a new message, whichever comes later.
Comment 1 Ingo Klöcker 2003-11-12 17:30:16 UTC

*** This bug has been marked as a duplicate of 39537 ***