On Thu, 21 May 2026 10:51:38 GMT, Marius Hanl <[email protected]> wrote:
>> modules/javafx.controls/src/test/java/test/javafx/scene/control/cell/TextFieldTableCellTest.java >> line 413: >> >>> 411: >>> 412: MouseEventFirer mouse = new MouseEventFirer(textField); >>> 413: mouse.fireMouseReleased(MouseButton.SECONDARY); >> >> is this right? RELEASED followed by another RELEASE? > > Yes, because if you do a right click on a `TextField`, it will trigger the > `ContextMenu` only on release. > > EDIT: And the second RELEASE is to retrigger the `ContextMenu` I recall this behavior might be platform-specific: on macOS the context menu appears on the PRESS, on windows on RELEASE. Have you tested the change on all three platforms (incl. linux)? ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1935#discussion_r3282252891
