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

Karthik P K kpk at openjdk.org
Fri Aug 25 11:48:45 UTC 2023


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.

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

Commit messages:
 - Fix TextField cursor movement issue

Changes: https://git.openjdk.org/jfx/pull/1222/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1222&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8242616
  Stats: 138 lines in 2 files changed: 121 ins; 10 del; 7 mod
  Patch: https://git.openjdk.org/jfx/pull/1222.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1222/head:pull/1222

PR: https://git.openjdk.org/jfx/pull/1222


More information about the openjfx-dev mailing list