Bug 105589 - Dragging image to korganizer gives incorrect URL
Summary: Dragging image to korganizer gives incorrect URL
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: calendar (show other bugs)
Version: 1.8.50
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 10:32 UTC by Thomas Zander
Modified: 2012-08-19 00:41 UTC (History)
2 users (show)

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 Thomas Zander 2005-05-13 10:32:11 UTC
Version:           1.8.50 (using KDE 3.4.89 (CVS >= 20050314), compiled sources)
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8)
OS:                Linux (i686) release 2.6.10

Dragging an inline-showing-attachment from kmail to (for example) korganizer shows just one URL; a file:///tmp/something

KMail should also show an imap:// url in that drag gesture to allow applications that can understand that to use that one instead.

Usecase:
I get an email with an invitation and an image attachment.  I (manually) add an appointment to korganizer to reflect that invitation.  I then drag the image from my kmail window to the korganizer 'edit event' window to the 'Attachments' tab.
I'm surprised to see korganizer get an file:///tmp/foo/invite.jpg in my korganizer.
Closing the email window and pressing 'show' indeed gives me a warning that the attachment does not exist.
Comment 1 Carsten Burghardt 2005-05-15 12:04:53 UTC
> Dragging an inline-showing-attachment from kmail to (for example)
> korganizer shows just one URL; a file:///tmp/something


Correct as the attachment is stored there.

> KMail should also show an imap:// url in that drag gesture to allow
> applications that can understand that to use that one instead.


That's might be nice for online imap but has several sideeffects which are not 
easy to handle. I'd see this as a wish as we have to deal with all kinds of 
accounts and the local files are definitely created.
Comment 2 Thomas Zander 2005-05-15 12:34:40 UTC
Carsten; providing a second URI in the drag-content does not create sideeffects; using those urls does, which means thats not relevant for this report.
Providing the imap:// uri is the only correct place for the attachment; it is where it can be retrieved by other software.  The fact that the attachment is stored in file:///tmp/* only for the time the email limits the scope of that url to the kurl-invoked application.

Naturally; I have no problem with that url being placed in the drag-gesture data, but adding the imap version really doesn't seem like a big problem.  And I know that as soon as a kmail-bug is turned into a wishlist its effectively ignored the rest of my life :)
Comment 3 Carsten Burghardt 2005-05-15 12:38:52 UTC
Am Sonntag, 15. Mai 2005 12:34 schrieb Thomas Zander:
[bugs.kde.org quoted mail]

Ahh, putting it in the drag-content sounds good. No idea how that works (have 
to check) but this _is_ a wish ;-)

> Naturally; I have no problem with that url being placed in the drag-gesture
> data, but adding the imap version really doesn't seem like a big problem. 
> And I know that as soon as a kmail-bug is turned into a wishlist its
> effectively ignored the rest of my life :)


The namespace patch was a wishlist....
Comment 4 Myriam Schweingruber 2012-08-18 07:57:27 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 5 Luigi Toscano 2012-08-19 00:41:22 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.