Bug 114508

Summary: Send images by mail tool does not delete its temporary files.
Product: [Applications] digikam Reporter: Tung NGUYEN <ntung>
Component: Plugin-Generic-SendByMailAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0

Description Tung NGUYEN 2005-10-16 16:13:53 UTC
Version:           kipi-plugins 0.1.0-rc1 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
OS:                Linux

- After sending images and quitting DigiKam, the folder ~/tmp/kde-user/kipi-sendimagesplugin-PID/ is not deleted and always contains the photos attached to the mail.

- For the others kipi plugins: kipi-batchprocessimagesplugin, kipi-cdarchivingplugin, kipi-jpeglosslessplugin, kipi-printwizardplugin, the empty folder ~/tmp/kde-user/kipi-plugin-xxxx/ is not deleted.
Comment 1 caulier.gilles 2005-10-28 08:25:18 UTC
Tung,

It's normal to let's tmp folder after digikam session because plugin had not any feedback about mail agent when e-mail with photos will be sent on the network ! If i removing folder at end of digikam session, and if mail agent is always open without to send all pictures (using RTC internet  connection for example), mail agent will cannot process properly emailing.

Normally, tmp folder is automaticly deleted at end of kde session (I have tested this point in the past when i have writen SendImage plugin).

Gilles
Comment 2 Oliver Doerr 2005-10-28 08:30:05 UTC
Hows about an option? Something like "Delete temporary files when digiKam close"...

This would help all those people whose temporary files are not edeleted.

Oliver
Comment 3 Tung NGUYEN 2005-11-02 12:42:00 UTC
I understand, I did not think of this case. It's OK for me, if you want you can close this bug report. 
Comment 4 Tom Albers 2006-05-02 21:25:57 UTC
I agree to comment 1 and reporter as well.
Comment 5 caulier.gilles 2017-06-28 21:53:04 UTC
The New tool to send image by mail from digiKam, always clean up the temporary directory when the Assistant dialog is closed. An explicit message from the progress list view explain the situation. The temporary directory do not be removed until the Mail Client program has processed the attachements.

Gilles Caulier