Sounds good, thanks Andy. On Wed, Nov 19, 2025 at 11:14 PM Andy Goryachev <[email protected]> wrote:
> Thank you for providing the feedback and further clarification! > > I've got confused because the reproducer in the ticket uses TextArea. You > are right though - the RTL navigation should change with the > ParagraphDirection attribute change. I'll probably just close this > ticket and create a new one for the RichTextArea, with your clarifications. > > As for RTL support in general - we are still working on it, the RTL > functionality in JavaFX is incomplete (see > https://bugs.openjdk.org/browse/JDK-8343557 ). Stay tuned. > > And thanks again for checking out RichTextArea and filing the issues - > looking forward to it. > > -andy > > > > *From: *openjfx-dev <[email protected]> on behalf of Fouad > Almalki <[email protected]> > *Date: *Tuesday, November 18, 2025 at 17:18 > *To: *[email protected] <[email protected]> > *Subject: *JDK-8372053: RichTextArea keyboard navigation for RTL > paragraph should be the opposite > > Hi, > > I am the original reporter of the bug JDK-8372053. The issue I was > referring to was with the incubator RichTextArea not the regular TextArea. > The issue happens when the RichTextArea's node orientation is default (LTR) > but the paragraph is right-aligned (TextAlignment.RIGHT and > ParagraphDirection.RIGHT_TO_LEFT) with RTL text. > > Current behavior is: RIGHT moves caret forward, and LEFT moves caret > backward. > Expected behavior is: LEFT moves caret forward, and RIGHT moves caret > backward. > > > > Also, currently the text selection of 2 lines of RTL text (does not matter > aligned to left or right) is a little buggy. When positioning the caret at > the start of second line, then pressing Shift+LEFT: > > Current behavior is: both lines will be highlighted and the caret will be > at the end of the first line (wrong highlight but correct caret position). > If pressing Shift+LEFT again, both lines will still be highlighted and the > caret will be at the end of the first line - 1 (again, wrong highlight but > correct caret position). > Expected behavior is: The text highlight should be synced with the caret > position. > > > > I also reported 2 more issues last week but did not appear yet on > bugs.openjdk.org. > > Best Regards~ > Fouad almalki >
