Bug 194495 - ksnapshot drag and drop does not work
Summary: ksnapshot drag and drop does not work
Status: RESOLVED NOT A BUG
Alias: None
Product: ksnapshot
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Richard Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-29 02:05 UTC by Kai Krakow
Modified: 2009-05-30 23:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Krakow 2009-05-29 02:05:39 UTC
Version:           0.8.1 (using 4.2.3 (KDE 4.2.3), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.28-gentoo-r5

The context help of the image preview says (sort of) "drag me to another application, for example try konqueror" but it does not work. I'd love the workflow of taking screenshots and dragging them to e.g. kmail without saving and intermediate file. But it simply does not work. All I get is the "forbidden" mouse pointer - no matter where I drag the image.

I consider this a bug (although it is a feature wish in some way) because the context help suggests that dragging is possible.
Comment 1 Dario Andres 2009-05-29 15:56:55 UTC
This is not a bug on KSnapshot but in the applications not accepting the drop.
As one example of this you could try to drag an image to the Pastebin widget on Plasma and it will be recognized and the image will be uploaded.

There is a report of Dolphin not accepting this drag&drop: bug 159337

As you mentioned KMail, you could file a new bug report against it describing the situation.

Thanks a lot! Closing as INVALID as this is not KSnapshot's fault.
Comment 2 Kai Krakow 2009-05-30 23:05:04 UTC
Is it really wise to change all receivers instead of "fixing" just ksnapshot?

From my point of view (of course I am not very much into KDE programming and drag and drop stuff, I just do some Qt) it looks like all applications I want to drop image files (mails etc) accept drops from dolphin, konqueror (even from web), kmail into konqueror, kmail and/or dolphin, while almost no receiver accepts drops from ksnapshot. Couldn't it be simply made the same kind of drop (probably a file object) and all receivers would be fixed?

I tried dropping from ksnapshot to the trashcan plasma. While it pretends it would accept the drop, no file appeared in it. So dropping to the pastebin widget is probably only possible because this (and probably only this app) understands the object format.

So currently it looks to me that "invalid" is just not the correct solution. And fixing all others is also not a good option. Could someone enlighten me, please? ;-)
Comment 3 Dario Andres 2009-05-30 23:57:38 UTC
I think the problem is the format/ the drag content.
Read bug 159337 and post there your conclusions about this please. Thanks!