RFR: 8341438: TextFlow: incorrect caretShape(), hitTest(), rangeShape() with non-empty padding/border [v2]

Andy Goryachev angorya at openjdk.org
Mon Jul 7 20:59:46 UTC 2025


On Mon, 7 Jul 2025 20:49:38 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> Have alternatives been discussed?

Yes, internally.  This PR has been out for quite a while, too.

The priority here is not to break the existing applications that might have coded a workaround.  We offer a new set of (better named) APIs withe the right behavior, while deprecating (not for removal) the existing ones.

Adding a system property seems a worse choice since it will break the apps and force the change.

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

PR Comment: https://git.openjdk.org/jfx/pull/1817#issuecomment-3046500268


More information about the openjfx-dev mailing list