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 16 17:19:39 UTC 2023
> 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.
Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
Updated based on review comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14246/files
- new: https://git.openjdk.org/jdk/pull/14246/files/7b2b2b01..428d0dd8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14246&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14246&range=05-06
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/14246.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14246/head:pull/14246
PR: https://git.openjdk.org/jdk/pull/14246
More information about the client-libs-dev
mailing list