Bug 207339 - drag-and-drop attachment to file manager doesn't save it
Summary: drag-and-drop attachment to file manager doesn't save it
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: messageviewer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 12:40 UTC by Jonathan Marten
Modified: 2009-09-14 17:12 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 Jonathan Marten 2009-09-14 12:40:04 UTC
Version:           KMail
Version 1.12.90
Using KDE 4.3.68 (KDE 4.3.68 (KDE 4.4 >= 20090907)) (using Devel)
OS:                Linux
Installed from:    Compiled sources

Dragging and dropping an attachment from the message preview or a message viewer window, to a Dolphin or Konqueror file manager window, doesn't save the attachment as would be expected.  The only drop option presented is "Link Here" (along with "Cancel"), selecting this options creates a file named something like "attachment:3?place=body.desktop" with the contents:

[Desktop Entry]
Icon=unknown
Name=attachment:3?place=body
Type=Link
URL[$e]=attachment:3?place=body

The message

konqueror(12842)/libkonq KonqOperations::doDrop: URL: KUrl("attachment:5?place=body")

is printed on stderr.

Dragging the attachment from the message structure viewer correctly saves the attachment, the "Copy Here" drop operation is shown as would be expected.  The corresponding stderr message is

konqueror(12842)/libkonq KonqOperations::doDrop: URL: KUrl("file:///tmp/kde-jjm4/kmailu13052.6/leo.JPG")
Comment 1 Thomas McGuire 2009-09-14 12:54:41 UTC
Have you tried with the latest trunk version?
I thought I had fixed this bug with commit 1021518.
Comment 2 Jonathan Marten 2009-09-14 17:12:39 UTC
Works as intended with current trunk.  My last update was just before that commit...