[jdk20] RFR: 4512626: Non-editable JTextArea provides no visual indication of keyboard focus
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Dec 13 02:36:48 UTC 2022
On Mon, 12 Dec 2022 22:33:51 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> Set the text caret to be visible but not blinking on the non-editable text area. Fix the regression test that becames unstable after the change.
test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java line 120:
> 118: robot.waitForIdle();
> 119: robot.delay(200);
> 120: if (!field2.getCaret().isSelectionVisible()) {
Does it need similar change in test/jdk/javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java
as well?
Since the logic is changed, I will still request to make this test stable on windows (now that we are not using screen capture) and then deproblemlist
-------------
PR: https://git.openjdk.org/jdk20/pull/21
More information about the client-libs-dev
mailing list