Bug 365676

Summary: improper handling of temporary directory
Product: [Applications] digikam Reporter: Piotr Keplicz <keplicz>
Component: Plugin-Generic-SendByMailAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0

Description Piotr Keplicz 2016-07-14 15:07:05 UTC
When exporting images using Digikam 5 with kipi-plugins 5.0.0 to resize and send by email there are some problems with using temporary directory.

1) When started through KDE menu, resizing stops with "Unable to write to a temporary directory" error.

2) When started from the terminal, images are written to the current directory, but KMail is unable to pick them up.

While exporting, a temporary directory under /tmp appears, but is not used.

Using Plasma 5.6.5 on Ubuntu 16.04, Digikam 5.0.0 with kipi 5.0.0 from the PPA.
Comment 1 Maik Qualmann 2016-07-15 17:14:12 UTC
Git commit 7613459e438a081d575cf2f01892fa8848d87ded by Maik Qualmann.
Committed on 15/07/2016 at 17:12.
Pushed by mqualmann into branch 'master'.

fix temporary directory in sendimages
Related: bug 308783
FIXED-IN: 5.1.0

M  +3    -1    NEWS
M  +0    -1    sendimages/emailsettings.h
M  +5    -5    sendimages/imageresize.cpp
M  +8    -1    sendimages/plugin_sendimages.cpp
M  +9    -18   sendimages/sendimages.cpp

http://commits.kde.org/kipi-plugins/7613459e438a081d575cf2f01892fa8848d87ded
Comment 2 Piotr Keplicz 2016-07-15 21:28:55 UTC
Thanks!