RFR: 8365635: Add MOUSE_DRAG_DONE event type
Andy Goryachev
angorya at openjdk.org
Fri Aug 29 22:52:48 UTC 2025
On Sat, 16 Aug 2025 20:44:28 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
> Adds `MOUSE_DRAG_DONE` event type to `MouseDragEvent` and appropriate handlers.
I must be doing something wrong - I don't see MouseDragEvent.MOUSE_DRAG_DONE, or in fact MouseDragEvent.ANY sent to the listeners, with this version of the monkey tester:
https://github.com/andy-goryachev-oracle/MonkeyTest/tree/mouse.drag.done
The test page in question is
https://github.com/andy-goryachev-oracle/MonkeyTest/blob/mouse.drag.done/src/com/oracle/tools/fx/monkey/pages/DnDPage.java
modules/javafx.graphics/src/main/java/javafx/scene/input/MouseDragEvent.java line 132:
> 130: /// This event occurs when the gesture ends. It is delivered exactly once to the source node/scene, and is always the
> 131: /// last event in the full press-drag-release process. It is delivered even when the mouse is outside the application.
> 132: public static final EventType<MouseDragEvent> MOUSE_DRAG_DONE =
`@since 26` ?
-------------
PR Review: https://git.openjdk.org/jfx/pull/1873#pullrequestreview-3170468613
PR Review Comment: https://git.openjdk.org/jfx/pull/1873#discussion_r2311446868
More information about the openjfx-dev
mailing list