RFR: 8242616: Regression: RTL - TextField Cursor Movement Via Keyboard

Andy Goryachev angorya at openjdk.org
Fri Aug 25 20:42:18 UTC 2023


On Fri, 25 Aug 2023 11:41:22 GMT, Karthik P K <kpk at openjdk.org> wrote:

> The old logic for cursor movement was buggy when both RTL and LTR text was present in the TextField. Used character BreakIterator instead of finding the character index using hitTest.
> 
> Added system test to validate the fix.

tests/system/src/test/java/test/robot/javafx/scene/TextFieldCursorMovementTest.java line 50:

> 48: public class TextFieldCursorMovementTest {
> 49:     static CountDownLatch startupLatch = new CountDownLatch(1);
> 50:     static CountDownLatch caretPositionLatch;

caretPositionLatch is unused

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1222#discussion_r1306130486


More information about the openjfx-dev mailing list