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 05:16:09 UTC 2023
On Fri, 23 Jun 2023 04:52:45 GMT, Tejesh R <tr at openjdk.org> wrote:
>> 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()`.
Anyhow I have tested the updated code in CI system multiple time, never encountered a failure due to null. As part of precautionary measures, let me retain the old code too, along with updated ones.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14246#discussion_r1239327196
More information about the client-libs-dev
mailing list