No screen coordinates for DRAG_DONE events

Thiago Milczarek Sayao thiago.sayao at clamed.com.br
Wed Feb 12 17:05:01 UTC 2020


Dirk,

Which platform are you using? (Windows, Linux, Mac)

(Will take a look if Linux)

Thanks.
________________________________
De: openjfx-dev <openjfx-dev-bounces at openjdk.java.net> em nome de Dirk Lemmermann <dlemmermann at gmail.com>
Enviado: segunda-feira, 10 de fevereiro de 2020 13:21
Para: OpenJFX <openjfx-dev at openjdk.java.net>
Assunto: No screen coordinates for DRAG_DONE events

Need some help: I noticed that the DRAG_DONE event does not tell me the location of the event. I am working on a docking framework and the fact that I am receiving a DRAG_DONE event but not a DRAG_DROPPED tells me that the user dragged a docking item out of the docking container. If that is the case I would like to show a new stage at the event location but it turns out that the x and y fields are always set to 0 / 0 on the event object. Is this intentional or a bug?

Dirk



More information about the openjfx-dev mailing list