Integrated: 8006421: GraphicsConfiguration of a frame is changed when the frame is moved to another screen

Tejesh R tr at openjdk.org
Tue Jun 27 04:59:25 UTC 2023


On Wed, 31 May 2023 11:34:19 GMT, Tejesh R <tr at openjdk.org> wrote:

> When a frame is dragged from one screen to another screen, the `GraphicsConfigurations` may vary depending on screen/monitor. However, transparency has to be maintained since it is expected as it is set. So the fix addresses in maintaining the translucency capability when frame is moved from one screen to another screen. For main screen, translucency is set when `setBackground` is called, but for second screen the same is not taken care. Hence setting of Translucency Capable `GC` is taken care when screen switch happens. The fix handles only for non-opaque windows alone retaining the behavior for opaque windows. 
> The fix is verified in CI for regression check, which is Green.

This pull request has now been integrated.

Changeset: 79c056ec
Author:    Tejesh R <tr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/79c056ec8b73de8e4841f9fdea494821a15e7313
Stats:     161 lines in 4 files changed: 161 ins; 0 del; 0 mod

8006421: GraphicsConfiguration of a frame is changed when the frame is moved to another screen

Reviewed-by: azvegint, serb

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

PR: https://git.openjdk.org/jdk/pull/14246



More information about the client-libs-dev mailing list