Version: unspecified (using KDE 4.5.0) OS: Linux When creating an attachment of a kaddressbook entry (VCF) in kmail using copy & paste (as attachment), you will end up having an attachment with name "unknown" and content type "/". Reproducible: Always Steps to Reproduce: - copy a contact - open kmail composer - paste as attachment Actual Results: name "unknown", type "/" Expected Results: name "<whatever the name of the contact was>", type "electronic business card" or "text/directory" or "text/x-vcard". kaddressbook 4.4.5
SVN commit 1173842 by tokoe: Do not try to add every akonadi:// url as a forwarded email message but use proper content and mimetype instead. Currently 'attachment' is used as name, since I have no clue how to retrieve a meaningfull name of the Akonadi item in a generic way. BUG: 248288 M +10 -0 attachmentcontroller.cpp M +6 -0 kmcomposereditor.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1173842
With kmail 1.13.5, kaddressbook 4.4.6 and kontact 4.4.6 I will now get the proper contents of that attachment, some VCF date. But the content-type os now "/" and the name is "unknown". With the old combo before the akonadi age I think the name was set to the same name as if I would have exported the VCF to a file, and the content type was set up properly.