PR# 19552 GTK drag and drop is unfinished as {EV_WIDGET_IMP}.initialize_file_drop is never called
Problem Report Summary
Submitter: finnianr
Category: EiffelVision
Priority: Medium
Date: 2019/07/07
Class: Bug
Severity: Serious
Number: 19552
Release: 19.05
Confidential: No
Status: Closed
Responsible: jvelilla
Environment: GTK 2
Synopsis: GTK drag and drop is unfinished as {EV_WIDGET_IMP}.initialize_file_drop is never called
Description
GTK drag and drop is unfinished as {EV_WIDGET_IMP}.initialize_file_drop is never called This is definitely true in version 16.05 and is likely true in version 19.05 as in the source for version 19.05 the only text reference of initialize_file_drop I can find in all the Vision2 source tree is the definition itself. This would explain why it is very difficult to trigger the GDK_FILE_DROP event. It does happen but only for 1 in every 7 attempts.
To Reproduce
A drag and drop test courtesy of German Arias is attached
Problem Report Interactions
Enhancement of Vision2 GTK drag and drop implementation at revision https://svn.eiffel.com/websvn/revision.php?repname=eiffelstudio&rev=103628
Thank you for the feedback. We were able to reproduce it and we are looking for a fix.
In case it proves useful I am attaching a source file from gnome-terminal as reference example of drag and drop that works for any URI