Integrated: 8322748: Caret blinking in JavaFX should only stop when caret moves

Andy Goryachev angorya at openjdk.org
Wed Feb 21 22:11:03 UTC 2024


On Wed, 14 Feb 2024 22:44:07 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Move caret animation handling due to keyboard input to the Skin, by registering a listener on the caretPosition property.  This will restart animation only when the caret position changes instead of every key press.
> 
> This also simplifies internal behaviors of TextArea, TextField, and PasswordField in light of the future InputMap RFE [JDK-8314968](https://bugs.openjdk.org/browse/JDK-8314968)

This pull request has now been integrated.

Changeset: 9a06bf9c
Author:    Andy Goryachev <angorya at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/9a06bf9c5bce40cf842ddf25fe3360c366c3156c
Stats:     24 lines in 3 files changed: 6 ins; 14 del; 4 mod

8322748: Caret blinking in JavaFX should only stop when caret moves

Reviewed-by: jhendrikx, kpk, kcr

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

PR: https://git.openjdk.org/jfx/pull/1368


More information about the openjfx-dev mailing list