RFR: 8318095: TextArea/TextFlow: wrong layout in RTL mode

Andy Goryachev angorya at openjdk.org
Wed Dec 3 23:27:12 UTC 2025


On Wed, 3 Dec 2025 13:33:31 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:

> Fixed issue with TextArea/TextFlow added a check `isMirrored()` in `PrismTextLayout.setWrapWidth` which makes the text right aligned in RTL.
> Tested with monkeyTester and the test in the bug

Another thing you might want to check is whether the LayoutInfo and related APIs (caretShape, etc) report correct information.

Using the updated Monkey Tester from 
https://github.com/andy-goryachev-oracle/MonkeyTest
:

<img width="1235" height="767" alt="Screenshot 2025-12-03 at 15 12 24" src="https://github.com/user-attachments/assets/31eac910-0fcb-4904-958e-1328c47f0c91" />

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

PR Comment: https://git.openjdk.org/jfx/pull/1995#issuecomment-3609251395


More information about the openjfx-dev mailing list