RFR: 8365635: Add MOUSE_DRAG_DONE event type [v2]
Andy Goryachev
angorya at openjdk.org
Tue Sep 2 17:10:49 UTC 2025
On Sat, 30 Aug 2025 15:46:29 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
>> Adds `MOUSE_DRAG_DONE` event type to `MouseDragEvent` and appropriate handlers.
>
> Nir Lisker has updated the pull request incrementally with one additional commit since the last revision:
>
> Missing @since
This is only tangentially related, but why in the drag and drop mode the coordinates for DRAG_DONE event are completely bogus when drop happens over a non-accepting target?
{event=DRAG_EXITED, x/y=(52, 32), screen=(1022, -1340), scene=(477, 71)}
{event=DRAG_EXITED_TARGET, x/y=(52, 32), screen=(1022, -1340), scene=(477, 71)}
{event=DRAG_DONE, x/y=(0, 0), screen=(0, 0), scene=(0, 0)}
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1873#issuecomment-3246142050
More information about the openjfx-dev
mailing list