Summary: | drag file from kde dolphin to gtk application not working | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Benny <benny.malengier> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | benny.malengier |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Benny
2010-02-28 14:49:32 UTC
Somebody found the solution: it is needed for drop to work to specify the move flag: gtk.gdk.ACTION_MOVE With windows this is not needed. So, this can be considered as a bug, or as a works as designed. Full details: http://hammered999.wordpress.com/2010/02/28/how-to-accept-a-drag-and-drop-ped-file-in-your-gtkmm-application/ Search for Dolphin to see where it says ACTION_MOVE is needed. For my own application, to have it working nicely I need to do: self.list.drag_dest_set(gtk.DEST_DEFAULT_MOTION|gtk.DEST_DEFAULT_DROP, dnd_types, gtk.gdk.ACTION_MOVE|gtk.gdk.ACTION_COPY) Somehow gtk.DEST_DEFAULT_HIGHLIGHT makes the update of the icon to an icon that can drop go wrong a lot of the times. So, feel to close this bug if this is the normal behavior for QT apps file drops. Sorry for the late reply... Corresponding to your comment #1 there seems to be nothing I can do against this from a Dolphin point of view, so I'll close this issue if this OK for you. Thanks! |