Bug 94157 - Can't email images with special characters in file name
Summary: Can't email images with special characters in file name
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 09:58 UTC by Linus Gasser
Modified: 2017-06-29 15:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linus Gasser 2004-11-30 09:58:06 UTC
Version:           0.1-beta1 (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Sendimages.cpp creates a temporary image-file with the last directory in the name. If this (or the name of the image, I suppose) name includes any special characters (non 7-bit, I think), the line

       *m_mailAgentProc << Temp;

misbehaves and gives some strange information to KProcess. In fact, I think that KProcess misbehaves, so perhaps this should be a bug-report against KProcess... But a workaround in kipi-plugins would be nice. I tried to give a Temp.utf8(), Temp.ascii(), Temp.latin1() to the KProcess, but it doesn't work, neither...

So, an image in

/home/ineiti/tmp/Anaïs/test.jpg

ends up in something like

/tmp/ineiti-.../.../Anaïs-test_jpg.jpg

and this name is not acceptable to KProcess...
Comment 1 Renchi Raju 2004-12-22 03:31:16 UTC
fixed in cvs
Comment 2 caulier.gilles 2017-06-29 15:28:19 UTC
Problem is not reproducible with new Send by Mail tool from digiKam core introduced with digiKam 5.7.0. The tool is available everywhere : Image Editor, Album View, Showfoto and Light Table. The items to send by mail can be selected by icon view items selection or by albums selection.

Gilles Caulier