RFR: 8365635: Add MOUSE_DRAG_DONE event type [v2]

Nir Lisker nlisker at openjdk.org
Tue Sep 2 21:40:52 UTC 2025


On Tue, 2 Sep 2025 17:08:27 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> 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?

I don't know why it was done this way, but the coordinates are explicitly set to 0 from `GlassScene.createDragboard` and `GlassSceneDnDEventHandler.handleDragEnd`.

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

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


More information about the openjfx-dev mailing list