Bug 164328 - Drag and drop of addresses from a mail to composer does not work
Summary: Drag and drop of addresses from a mail to composer does not work
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: 1.9.52
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 20:23 UTC by Urs Wolfer
Modified: 2008-07-21 19:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Urs Wolfer 2008-06-17 20:23:21 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

I'm not able to drag an mail address from KMail (e.g. "From:" field) to a new composers "To:" field.

I get the following message: "Unable to access ..."
Comment 1 Thomas McGuire 2008-06-18 12:50:31 UTC
Confirmed with 1.9.52.
Comment 2 Allen Winter 2008-06-18 14:48:35 UTC
I investigate this a bit last night.

So far I know the following:
- the mime type for the drag data is "text/plain" or "uri/foo" (I forget right now), but KVCardDrag::mimeType expects "text/directory" 

- the drag data is of the form "mailto:Allen Winter<winter@kde.org>"

if we change KVCardDrag::mimeType() to return "text/plain", we no longer get the error dialog nor a crash.  However, KABC::VCardConverter().parseVCard doesn't seem to know how to parse a "mailto:address", so the drop is empty
Comment 3 Urs Wolfer 2008-07-19 11:21:16 UTC
Any chances to get this fixed soon? It's a quite annoying bug for me.
Comment 4 Allen Winter 2008-07-20 23:21:43 UTC
Urs,

Thomas and I took a look today and determined that the bug is due to a behavior change in KUrl.  We have a query into dfaure about how to proceed.

There is a good chance we can squeeze in a fix before tagging on Tuesday.
Comment 5 Thomas McGuire 2008-07-21 16:25:14 UTC
SVN commit 835989 by tmcguire:

Fix dropping of mailto: Urls.
Needs an up-to-date kdelibs.
BUG: 164328


 M  +43 -20    kmlineeditspell.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=835989
Comment 6 Thomas McGuire 2008-07-21 19:32:28 UTC
SVN commit 836075 by tmcguire:

Backport r835989 by tmcguire to the 4.1 branch:

Fix dropping of mailto: Urls.
Needs an up-to-date kdelibs.
CCBUG: 164328



 M  +43 -20    kmlineeditspell.cpp  


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