Bug 150453 - emailing a raw image creates an incorrect filename
Summary: emailing a raw image creates an incorrect filename
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 20:06 UTC by Paul Waldo
Modified: 2022-01-15 18:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

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