Bug 269852

Summary: dragging an address book entry into an email results in an attachment an empty mime-type
Product: [Applications] kaddressbook Reporter: Gunter Ohrner <kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gunter Ohrner 2011-04-01 00:11:41 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

kaddressbook does not seem to allow to send an address book entry by mail. (It was still possible in KDE 4.3.)

Thus I dragged one into an email editor window using the mouse, as I often need this functionality.

The vcard was attached to the mail, but without a specified file name and with an empty mime-type:

Content-Type: 
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="unknown"


Reproducible: Always

Steps to Reproduce:
Drag a contact from kaddressbook into an kmail mail editor window, choose "Add as attachment" in the popup-menu.

Actual Results:  
An attachment with an empty content type and without a filename is created.

Expected Results:  
An attachment with a descriptive name like JaneDoe.vcf and mime type text/x-vcard should be created.
Comment 1 Gunter Ohrner 2011-04-01 00:23:58 UTC
Adressbuch
Version 4.4.10
Unter KDE 4.6.1 (4.6.1)


KMail
Version 1.13.6
Unter KDE 4.6.1 (4.6.1)
Comment 2 Gunter Ohrner 2012-01-05 00:01:05 UTC
Works with KDE 4.7 and kmail2, and probably won't be fixed for older releases anyway, I guess...