RFR: 8326497: Window.toFront() fails for iconified windows on Linux [v5]

Tejesh R tr at openjdk.org
Wed Mar 6 09:47:49 UTC 2024


On Tue, 5 Mar 2024 13:25:42 GMT, Maxim Kartashev <mkartashev at openjdk.org> wrote:

>> test/jdk/java/awt/Frame/Iconify/IconifiedToFront.java line 41:
>> 
>>> 39: 
>>> 40: public class IconifiedToFront {
>>> 41:     private static final int PAUSE_MS = 1500;
>> 
>> 1.5 sec is minimum delay, can we reduced it ?
>
> Not unless there's another idea on how to measure tests' success. 1.5 seconds is about the time my MacOS needs to complete an iconify/de-iconfiy process.

Did u try after adding `waitForIdle` ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17985#discussion_r1514153337


More information about the client-libs-dev mailing list