Bug 150453

Summary: emailing a raw image creates an incorrect filename
Product: [Applications] digikam Reporter: Paul Waldo <paul>
Component: Plugin-Generic-SendByMailAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Paul Waldo 2007-10-03 20:06:38 UTC
Version:           0.9.2-final (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14.1)
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.20-16-generic

- Select a Canon RAW (*.crw) image
- Select Image|Email Images... menu
- Select the Mail Options
- Ensure "Adjust image properties" is set.  Either JPG or PNG is acceptable
- Select OK
- Raw image conversion occurs and mail application is launched
- The name of the file in the mail attachment is XXXX.crw, even though the file was successfully converted to a standard format.  

I was expecting that the name of the attached file would be XXXX.jpg or XXX.png, depending upon the Mail Options.  Note that the recipient could rename the attachment as XXXX.jpg or XXX.png (assuming he knew which one) and successfully open the file, so this is only a file naming issue, not a conversion issue.
Comment 1 caulier.gilles 2007-10-03 20:23:35 UTC
I confirm. I have just reproduce the problem...

Gilles
Comment 2 caulier.gilles 2007-11-12 15:26:30 UTC
SVN commit 735733 by cgilles:

Kipi-plugins from trunk (KDE4) : SendImages plugin port:

Huge improvement with mozilla/thunderbird emailer support about attachement files given on command line. 
No need to check if an instance of mailer already exist in memory to use -remote option. If we use -compose 
with the right options form. This way simplify the source code considerably... Thanks to Mozilla.org wiki page 
to describe all catch command line options syntax.

I have tested with recent Thunderbird, Mozilla, and Netscape mailers. Please give me feedback if you occurs special 
errors with old versions. Thanks in advance...

Note B.K.O files 148186 is closed because RAW attachement files is fixed now.

CCMAIL: digikam-devel@kde.org
CCMAIL: kde-imaging@kde.org

BUG: 148186
BUG: 150453


 M  +8 -55     emailpage.cpp  
 M  +0 -6      emailpage.h  
 M  +0 -2      emailsettingscontainer.h  
 M  +39 -80    sendimages.cpp  
 M  +0 -2      sendimagesdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=735733