Bug 458413 - [GTK] [Missing functionality] DND should be able to aquire data over a drag-over event.
Summary: [GTK] [Missing functionality] DND should be able to aquire data over a drag-o...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2015-01-26 09:43 EST by Leo Ufimtsev CLA
Modified: 2018-07-10 14:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Ufimtsev CLA 2015-01-26 09:43:19 EST
This is sort of bug/missing functionality:

In:
Bug 457224 - FileTransfer does not work on Ubuntu 14.04

It was pointed out that SWT's GTK implementation doesn't have a mechanism to get data during a drag-enter event.  (as does the win implementation). 
An example of this is the attached sample (in 457224) where data isn't acquired on a drag-enter.

As a result, on gtk you can't filter out 'bad' data on a drag-enter event. 

GTK folks in:
https://bugzilla.gnome.org/show_bug.cgi?id=686197

Suggested to use gtk_drag_get_data() 
to get data for 'drag-over' events, as described in:
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-drag-motion
Comment 1 Leo Ufimtsev CLA 2016-08-05 11:49:46 EDT
I won't have time to work on this in near future, but might come back to it if I do some DND work. 
Anyone interested is invited to work on it.