RFR: 8205067: Resizing window with TextField hides text value [v2]
Andy Goryachev
angorya at openjdk.org
Wed Oct 25 15:32:43 UTC 2023
On Wed, 25 Oct 2023 15:19:13 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> Can you provide an automated test for this fix?
I wonder.
1. this test ought to be headful, since the font metrics are involved
2. it might be better to develop a wider test that verifies that the caret (at least in the case of a single caret) is always visible, there is no dead space beyond the end/beginning of text when resized, using all node orientations, using a number of test strings, and so on.
There might be some limited value in testing the exact scenario (to avoid tripping over the same condition again), but I think < plug> it's a kind of situation the monkey tester was developed to address. I am not saying MT is a panacea, but it did allow me to test a number of weird scenarios right away </ plug >
What do you think?
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1263#issuecomment-1779536740
More information about the openjfx-dev
mailing list