RFR: 8006421: GraphicsConfiguration of a frame is changed when the frame is moved to another screen [v7]

Sergey Bylokhov serb at openjdk.org
Thu Jun 22 18:39:10 UTC 2023


On Fri, 16 Jun 2023 08:09:36 GMT, Tejesh R <tr at openjdk.org> wrote:

>> src/java.desktop/share/classes/java/awt/Window.java line 3223:
>> 
>>> 3221:                     getDefaultScreenDevice().
>>> 3222:                     getDefaultConfiguration();
>>> 3223:         }
>> 
>> It looks like `gc` was always not null before the fix, which is no longer true after the fix.
>> We need to double check that we didn't break anything in this regard.
>
> Yeah, have tested in CI multiple time and also few manual dual screen related test. No regression found with fix.

We have a couple of places where we call "setGraphicsConfiguration(null)", previously that sets the default GC, now it will set the null, can we try to trigger that codepath and check how it will work?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14246#discussion_r1238899212



More information about the client-libs-dev mailing list