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

Tejesh R tr at openjdk.org
Fri Jun 23 04:55:11 UTC 2023


On Thu, 22 Jun 2023 18:36:26 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> 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?

Removing a Component will call `Component.setGraphicsConfiguration()`, which in turn triggers `Component.updateGraphicsData()`. So `setGraphicsConfiguration(null)` never invoked `Window.setGraphicsConfiguration()`.

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

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



More information about the client-libs-dev mailing list