On Sat, 17 Dec 2022 01:14:00 GMT, Alexander Zvegintsev <[email protected]> wrote:
>> I updated the code now the behaviour is correct (as far as i tested) and the >> blink rate is reported as if it is set to the correct value even on >> non-editable text element. > > I am still having issue with non-blinking cursor on editable field with the > latest version of the fix. > > Fails for me with test provided above and commented `requestFocus(button);` > line. The latest version does not work good for me, e.g. with the test above and `textField.getCaret().setBlinkRate(250)`(not `2500`): 1. with `requestFocus(button);`: caret blinks several times and stops on mouse move, focus gained on text field the caret blinks several times and stops again. 2. without `requestFocus(button);`: it doesn't blink until focus out / focus in on the text component after this blinks several times and stops. ------------- PR: https://git.openjdk.org/jdk20/pull/21
