RFR: 8304831: TextFlow.hitTest.insertionIndex incorrect with surrogate pairs [v6]
Andy Goryachev
angorya at openjdk.org
Thu May 18 17:15:59 UTC 2023
On Thu, 18 May 2023 17:04:57 GMT, Karthik P K <kpk at openjdk.org> wrote:
> `Toolkit.getToolkit().firePulse();` will not make any difference in system tests.
Once you added children to TextFlow, I think it needs another layout pass to apply CSS and render the text. We could use delays, but it looks like sometimes even 500 ms delay is not sufficient (possibly due to cold start), making the test unstable.
I think I've also encountered a few other tests where explicit firePulse() was needed to allow for skin, CSS, and layout pass.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1091#issuecomment-1553365768
More information about the openjfx-dev
mailing list