Bug 365676 - improper handling of temporary directory
Summary: improper handling of temporary directory
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-14 15:07 UTC by Piotr Keplicz
Modified: 2017-06-28 21:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!