Bug 88893 - Wish : Drag & drop from ksnapshot to contact list
Summary: Wish : Drag & drop from ksnapshot to contact list
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Contact list (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 104894 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-05 19:00 UTC by Pivert
Modified: 2024-09-18 18:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pivert 2004-09-05 19:00:07 UTC
Version:           0.9.0 (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
OS:                Linux

Wish :

I would love to be able to drag & drop ksnapshot images directly to contact list.. Or even better, in the chat window.

Thanks !
Comment 1 Olivier Goffart 2004-09-05 19:34:43 UTC
Kopete already accept the mime type "text/uri-list"  and send it as a file to the contact.  (on the contactlist, ok, in KDE 3.4, on the chatwindow)

KSnapshot maybe could send the "text/uri-list" DragObject, which points to the temporary file the image is stored.

I'm reassinging the report to ksnapshot, so the ksnapshot maintainer will be able to reply.
Comment 2 Richard Moore 2005-02-20 00:24:30 UTC
The drag occurs as an image, the user may not have saved it so I can't let them drag it as a URL.

Rich.
Comment 3 Antonio Pérez 2005-03-17 21:10:05 UTC
Could ksnapshot save the image in a temporary file and pass this file to kopete?

I don't know very much how it works, but drag&drop from ksnapshot to my Desktop and then to kopete works quite fine... so I think it could be possible. Please, correct me if I'm wrong.

Thanks!
Comment 4 Olivier Goffart 2005-03-18 18:19:51 UTC
Then Kopete should probably save it to disk in a temporary file itself.
Anyway, i think it could maybe better be done in kdelibs.  but the wish is still valid.
Comment 5 Jason Keirstead 2005-03-18 18:25:41 UTC
What is the mime type of the drag object? It wil be impossibe to manually accept all mime types.

Maybe kopete could accept *any* mime type for sending?
Only problem would be Winwodws users need a file extention to open the file...

Could we save it to disk, and then, attempt to identify it using it's magic?

Comment 6 Aaron J. Seigo 2005-03-18 22:34:11 UTC
it's just a QImageDrag. so a simple call to QImageDrag::canDecode would probably suffice.
Comment 7 Jason Keirstead 2005-03-19 01:07:58 UTC
On March 18, 2005 05:34 pm, Aaron J.Seigo wrote:
> it's just a QImageDrag. so a simple call to QImageDrag::canDecode would
> probably suffice.


Sure, for this one. But what about the next request that asks for a drag of an 
application/x-rtf chunk from KWord, or an audio/x-mp3 chucnk from an MP3 
editor.
Comment 8 Degand Nicolas 2005-03-20 19:34:46 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 Olivier Goffart 2005-11-18 20:29:52 UTC
*** Bug 104894 has been marked as a duplicate of this bug. ***
Comment 10 Richard Moore 2006-11-15 00:45:50 UTC
Reassigning to kopete guys (not sure why I was still assigned to it).
Comment 11 Christoph Cullmann 2024-09-18 18:28:34 UTC
Dear user, unfortunately Kopete is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.