When TextFlow is set to RTL node orientation, not only the layout is incorrect (see JDK-8318095) but also
caretShape() and
rangeShape()
methods return incorrect values.
To reproduce, launch the attached code and click left mouse button to see the caret shape, or right mouse button to see the range shape of the whole text. The paths will also be printed to stdout.
A similar issue is present in Text.
caretShape() and
rangeShape()
methods return incorrect values.
To reproduce, launch the attached code and click left mouse button to see the caret shape, or right mouse button to see the range shape of the whole text. The paths will also be printed to stdout.
A similar issue is present in Text.
- blocks
-
JDK-8343557 ☂ RTL Issues in Controls
- Open
- relates to
-
JDK-8318095 TextArea/TextFlow: wrong layout in RTL mode
- Open
-
JDK-8330559 Trailing space not rendering correctly in TextFlow in RTL mode
- Open
-
JDK-8319844 Text/TextFlow.hitTest() is incorrect in RTL orientation
- Resolved
-
JDK-8300569 ☂ Missing APIs related to rich text control
- In Progress
-
JDK-8219183 Caret of the TextField or TextArea style and sharp
- Open
(1 relates to)