RFR: 8327471: RTLTextFlowCharacterIndexTest fails on Linux
Andy Goryachev
angorya at openjdk.org
Wed Mar 13 16:33:20 UTC 2024
On Wed, 13 Mar 2024 05:17:40 GMT, Karthik P K <kpk at openjdk.org> wrote:
> Because of the difference in the size of characters in default fonts in different OS, 2 tests were failing in `RTLTextFlowCharacterIndexTest`.
>
> Increased the scene width to accommodate all the characters as required for the test to validate HitInfo values in all the platforms.
tests/system/src/test/java/test/robot/javafx/scene/RTLTextFlowCharacterIndexTest.java line 116:
> 114: static volatile Scene scene;
> 115:
> 116: static final int WIDTH = 600;
one suggestion: maybe we can reduce the font size from 48 to something smaller.
that might also speed up the test as the cursor wouldn't have to traverse a lot of pixels. watch out for change in line breaks though.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1399#discussion_r1523581496
More information about the openjfx-dev
mailing list