RFR: 8225777: java/awt/Mixing/MixingOnDialog.java fails on Ubuntu [v2]

Sergey Bylokhov serb at openjdk.java.net
Thu Oct 21 01:37:05 UTC 2021


On Wed, 20 Oct 2021 16:42:41 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> 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
>
> Yes, `setUndecorated` is one of possible solutions, however it looks equal to changing location.
> 
> Updated the delay and dialog's location.

Can you please double-check all Mixing tests, some of the problem listed, but I think most of them has the same issue related to the big window decoration especially on windows 10 and the latest ubuntu?

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

PR: https://git.openjdk.java.net/jdk/pull/6040



More information about the client-libs-dev mailing list