Findings on JDK-8211302

2019-05-13 Thread Thiago Milczarek Sayao
Hello, I have been looking into JDK-8211302. https://bugs.openjdk.java.net/browse/JDK-8211302 Did not find a solution, but the problem is because gdk_drag_context_get_selected_action(event->context) is returning ZERO. That's also why the cursor does not update on the drop location. Subsequent

RE: Findings on JDK-8211302

2019-05-13 Thread Pankaj Bansal
Hello Thiago, This solution was proposed by one of the engineers in Oracle sometime back and we have tested it. This does not seem to solve the issue. If you wish to try this, please take the patch [1], which is attached in the bug JDK-8211302. This patch neatly defines the function depending

RE: Findings on JDK-8211302

2019-05-13 Thread Thiago Milczarek Sayao
It does not work because the problem happens before. But I suspect when the gdk_drag_context_get_selected_action(event->context) returning ZERO problem is fixed, the need of gdk_drag_drop_done() will be the problem. Cheers. De: Pankaj Bansal Enviado:

GStreamer

2019-05-13 Thread Curtis Ruck
I'm investigating a new application that would need tighter integration with gstreamer. Is there a way to add additional gstreamer plugins and media types without having to maintain a fork of javafx-media? Ideally, if i did end up needing a fork, i was thinking it would make sense to split

RE: Findings on JDK-8211302

2019-05-13 Thread Pankaj Bansal
I think problem starts even before this as process_dnd_source_mouse_release is called when we release the mouse after drag and drop. But there we are not even able to initiate the dnd. If gdk_drag_context_get_selected_action(event->context) returning ZERO was the main issue, we should be able

Re: Findings on JDK-8211302

2019-05-13 Thread Magosányi Árpád
Could this be related? https://stackoverflow.com/questions/56003372/javafx-11-fires-events-randomly On 5/13/19 2:29 PM, Thiago Milczarek Sayao wrote: > Hello, > > I have been looking into JDK-8211302. > > https://bugs.openjdk.java.net/browse/JDK-8211302 > > Did not find a solution, but the

RE: Findings on JDK-8211302

2019-05-13 Thread Thiago Milczarek Sayao
Run it with -Djdk.gtk.version=2 If the problem stops, it's related. De: Magosányi Árpád Enviado: segunda-feira, 13 de maio de 2019 10:53 Para: Thiago Milczarek Sayao; openjfx-dev@openjdk.java.net Assunto: Re: Findings on JDK-8211302 Could this be related?

RE: Findings on JDK-8211302

2019-05-13 Thread Thiago Milczarek Sayao
Did further investigation... I think the problem lies on Gdk mouse motion events not being fired. On gdk2 the GDK_DRAG_STATUS and GDK_MOTION_NOTIFY events fires many times, including when the drag operation leaves the root window. On gdk3 it fires a few times and does not keep firing when the