RFR: 8089080: [TextArea] Caret disappear after pressing backspace to clear the content

Ziad El Midaoui zelmidaoui at openjdk.org
Tue May 13 18:43:54 UTC 2025


On Tue, 13 May 2025 15:23:01 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Do you think it is possible to write a test for this case that would fail without the fix and pass with the fix?

I have tried to make a test for it but I cannot get the information about whether the caret is visible or the caret position as the expected I have tried the available methods like `isCaretVisible` and `getCaretPosition`, so not sure if that is possible.
Also for me the issue is not reproducible in the test case from the ticket but in Monkey tester by default the issue happens when focusing on the `TextArea` , with the fix the issue do not happen anymore.

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

PR Comment: https://git.openjdk.org/jfx/pull/1787#issuecomment-2877589924


More information about the openjfx-dev mailing list