|Re: Cross Viewer Drag & Drop [message #1853175 is a reply to message #1808672]
||Tue, 21 June 2022 19:45
| Gerhard Kreuzer
Registered: May 2019
I'm late, but I think it's never too late to say THANX!
Your answer put me on the right path, but there is a little subtlety that bothers me. Before I start, a small premise: due to internal restrictions (related to Java 8) we are currently bound to Eclipse 4.16 and GEF 5.3.0 and I have not checked, if my concern has vanished in the current version.
What does bother me, is the fact, that my drag/drop handler does not receive DRAG_ENTERED or DRAG_EXITED calls. I think this is due to bug in the DragDropGesture class, There, the event filters for the cited events are hooked with the scene, but the calls to the policies require, that the event target is an FX node. According to my observation, the ENTERED and EXITED events are delivered to the scene but not to nodes. Therefore I think, that not the ENTERED / EXITED events should be monitored in DragDropGesture, but DRAG_ENTERED_TARGET and DRAG_EXITED_TARGET.
Do you agree? Is this problem still existing in the current version and should I file a bug?
Powered by FUDForum
. Page generated in 0.01954 seconds