<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for providing the feedback and further clarification!</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">I've got confused because the reproducer in the ticket uses TextArea. </span><span style="font-size: 16px; background-color: rgb(255, 255, 255);">You are right though - the RTL navigation should change with the ParagraphDirection
attribute change. I'll probably </span><span style="font-size: 12pt;">just close this ticket and create a new one for the RichTextArea, with your clarifications.</span></div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
As for RTL support in general - we are still working on it, the RTL functionality in JavaFX is incomplete (see
<a href="https://bugs.openjdk.org/browse/JDK-8343557" data-outlook-id="bc4c9a41-3b3d-45db-89a9-423606bb0441">
https://bugs.openjdk.org/browse/JDK-8343557</a> ). Stay tuned.</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
And thanks again for checking out RichTextArea and filing the issues - looking forward to it.</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-andy</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="mail-editor-reference-message-container">
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"></div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; padding: 3pt 0in 0in; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; font-family: Aptos; font-size: 12pt; color: black;">
<b>From: </b>openjfx-dev <openjfx-dev-retn@openjdk.org> on behalf of Fouad Almalki <engineer.fouad.a@gmail.com><br>
<b>Date: </b>Tuesday, November 18, 2025 at 17:18<br>
<b>To: </b>openjfx-dev@openjdk.org <openjfx-dev@openjdk.org><br>
<b>Subject: </b>JDK-8372053: RichTextArea keyboard navigation for RTL paragraph should be the opposite<br>
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">Hi,</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">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.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">Current behavior is: RIGHT moves caret forward, and LEFT moves caret backward.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">Expected behavior is: LEFT moves caret forward, and RIGHT moves caret backward.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">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:</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">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). </div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">Expected behavior is: The text highlight should be synced with the caret position.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">I also reported 2 more issues last week but did not appear yet on
<a href="http://bugs.openjdk.org/" target="_blank" data-outlook-id="833ea584-5c23-4ded-a846-634a513f1f47">
bugs.openjdk.org</a>.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">Best Regards~</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="color: rgb(136, 136, 136);">
Fouad almalki</div>
</div>
</body>
</html>