RFR: 8365635: Add MOUSE_DRAG_DONE event type [v2]

Andy Goryachev angorya at openjdk.org
Tue Sep 2 17:04:57 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

Yes, calling `startFullDrag()` did the trick:


{event=MOUSE_DRAGGED, x/y=(-785, -106), screen=(19, 57), scene=-360, -67)}
{event=MOUSE-DRAG_DONE, x/y=(-785, -106), screen=(19, 57), scene=-360, -67)}
{event=MOUSE_RELEASED, x/y=(-785, -106), screen=(19, 57), scene=-360, -67)}


Question: should we explain in greater detail that the new event is coming during full drag only?

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

PR Comment: https://git.openjdk.org/jfx/pull/1873#issuecomment-3246124666


More information about the openjfx-dev mailing list