On Thu, 19 Jan 2023 16:16:18 GMT, Thiago Milczarek Sayao <[email protected]> 
wrote:

> When running on Wayland the `GDK_DRAG_LEAVE` is sent just after 
> `GDK_DROP_START`. The leave event causes java to set `dragGesture` to `null`. 
> On Xorg this event is not sent. 
> 
> The fix just ignores the leave event if a drop occurred.

This pull request has now been integrated.

Changeset: 294e82e6
Author:    Thiago Milczarek Sayao <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/294e82e636a74aab73491c4dea9a31a97c389353
Stats:     9 lines in 1 file changed: 5 ins; 0 del; 4 mod

8275033: Drag and drop a file produces NullPointerException Cannot read field 
"dragboard"

Reviewed-by: kcr, angorya

-------------

PR: https://git.openjdk.org/jfx/pull/1005

Reply via email to