GNOME Bugzilla – Bug 345415
contact name should be used as name of composer vcf attachment
Last modified: 2021-05-19 12:14:33 UTC
When you drag a contact into the message composer, it attaches a vcard to the E-Mail. The name of this attachment is "attachment", but should be "name._name.vcf" (just like with the "Save As VCard" function). Other information:
just curious, how did you find out that it's named "attachment"?
(In reply to comment #1) > just curious, how did you find out that it's named "attachment"? By looking at its name in the attachment bar :-)
Created attachment 70121 [details] [review] Vcard Attachment name set.
ushveen: applied your patch, works when i choose "forward as attachment" within the context menu, but not when DnDing the contact to the composer body window - i still get "Attachment" displayed.
setting patch status to needs-work as it does not cover all cases, it seems.
Andre: Did you really compile composer/ and then mail/ ? This patch seems to work fine for me (both dnd and contact->r-click->forward contact). Of course the patch needs some work. It doesnt seem to free the vcard and attrs :)
Created attachment 70855 [details] [review] oops!!!! thanx for reminding me on that srini.
err... will retest it if i am back on a better internet connection, sigh...
i only compiled composer/ when i try, and i still don't understand why i also need to compile mail/. :-) anyway - evo crashes reproducibly for me after also compiling mail/ when i try to drag and drop a contact to the attachment bar of the composer window. good also be my damn RAM though. should reboot, or better: set up a new system. suse 10.1 is a mess. :-(
Seems to work fine when added on top of 2.10.1. Note that the "Forward Contact" functionality works without this patch. This one merely adds drag and drop.
This should crash for double free. I think the attr is freed multiple times.
*** Bug 353776 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines and create a new bug report ticket at https://gitlab.gnome.org/GNOME/evolution/-/issues/ Thank you for your understanding and your help.