RFR: 8280482: Window transparency bug on Linux [v3]

Alexander Zvegintsev azvegint at openjdk.org
Fri Jul 28 11:07:53 UTC 2023


On Fri, 21 Jul 2023 10:51:03 GMT, Tejesh R <tr at openjdk.org> wrote:

>> test/jdk/java/awt/Multiscreen/MultiScreenCheckScreenIDTest.java line 113:
>> 
>>> 111:                     }
>>> 112:                 } else if (windowList.get(windowList.size() - 1).getBounds().
>>> 113:                         intersects(screens[1].getDefaultConfiguration().getBounds())) {
>> 
>> What if user has more than 2 screens?
>> It looks like the 3rd and subsequent screens are not tested.
>
> I have made the validation as per number of screens now. I guess this is fine to check multiple screens.

I don't see why we should be limited to only two when more may be available.
What if it helps to find some issue?
Anyway, the test place windows on all screens, but checking only on two of them.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14825#discussion_r1277412129



More information about the client-libs-dev mailing list