RFR: 8079267: [TEST_BUG] Test java/awt/Frame/MiscUndecorated/RepaintTest.java fails
Alexander Zvegintsev
azvegint at openjdk.java.net
Tue Nov 2 15:29:20 UTC 2021
On Thu, 28 Oct 2021 13:24:41 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
> This test does not fail on Windows and does fail on Linux.
>
> After de-iconification we expect to see the button focused:
> 
>
> Actual look:
> 
>
> Button loses focus on `frame.to Front()` call, after its removal test passes. There is an [open issue](https://bugs.openjdk.java.net/browse/JDK-7156130) for this.
>
>
> Some cleanup was also made. Testing is green for all platforms.
>
>
> I am unable to reproduce [8266244 / macosx-aarch64](https://bugs.openjdk.java.net/browse/JDK-8266244), however it is not removed from the problem list due to its intermittent nature which needs more time to investigate.
> "Button loses focus on frame.to Front() call, after its removal test passes. There is an open issue for this."
>
> Is it specific to Button ?
>
> You may want to discuss with @azuev-java since he is using toFront to get focus over in #6161 but it isn't a Button there.
It is not specific to Button, it may be some other component as well.
A window itself gets the focus on `toFront()` call, but not the previously focused component inside of it.
#6161 does not have any components and requires only window focus for the test, so it should not face this issue.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6157
More information about the client-libs-dev
mailing list