On Wed, 20 Oct 2021 12:05:57 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
> Looks like the test started failing after increasing of window's title height > in Ubuntu theme: > >  > So the click happens on windows title instead of the button. > > For example, macOS has smaller window title height, which allows test to pass. > <img > src="https://user-images.githubusercontent.com/77687766/138088659-bd636518-c23c-4c5e-bf97-61035753c71a.png" > width="50%" height="50%"> > > Fix moves buttons away from window title. >  > > Testing is green. test/jdk/java/awt/Mixing/MixingOnDialog.java line 71: > 69: // Overlap the buttons > 70: heavy.setBounds(130, 130, 200, 200); > 71: light.setBounds(110, 110, 50, 50); Probably you can call setUndecorated instead of changing the coordinate to avoid the issue. Also, maybe move the dialog to centre of screen...Also, I see setAutoDelay(20) is too less, should be consistent with other test which is 100ms ------------- PR: https://git.openjdk.java.net/jdk/pull/6040