On Fri, 22 Jan 2021 12:01:55 GMT, Robert Lichtenberger <rlich...@openjdk.org> wrote:
>> Oh wow. Further experimentation has shown, that if >> NodeOrientation.RIGHT_TO_LEFT is used on the anchor, then Side.LEFT used to >> make the menu appear on the **right** hand side and Side.RIGHT used to make >> the menu appear on the **left** hand side of the button, which really >> surprises me, since I didn't expect the side parameter to be relative. > > Ok, I just pushed all the changes necessary to keep the old behaviour for > right-to-left node orientation. > If you would rather have the behaviour changed (it doesn't seem very > intuitive to me...) just tell me and I can change the implementation / tests. Good catch. The current behavior is consistent with how RTL works for most things, so we do want to preserve that behavior. ------------- PR: https://git.openjdk.java.net/jfx/pull/383