[jdk21u-dev] Integrated: 8280482: Window transparency bug on Linux

Roland Mesde duke at openjdk.org
Wed Nov 19 17:06:16 UTC 2025


On Mon, 17 Nov 2025 20:58:47 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8280482: Window transparency bug on Linux.
> 
> Problem:
> • Windows on screen 0 (default screen) incorrectly lose transparency 
> • Only windows on screen 1 should lose transparency
> • Root cause: toGlobal() call in checkIfOnNewScreen() doubles the X position, causing wrong screen detection
> 
> Solution:
> • Remove unnecessary toGlobal() call when passing window bounds to screen detection
> • toGlobal() is not required for monitor number checking and causes coordinate miscalculation
> 
> Ran GHA Sanity Checks (passed) and related test (passed).

This pull request has now been integrated.

Changeset: c578eb2e
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/c578eb2e09c75901076f93de668f74a3dcb3c026
Stats:     151 lines in 2 files changed: 148 ins; 0 del; 3 mod

8280482: Window transparency bug on Linux

Backport-of: 0a3c6d6bd010231d02e92016037149e85fb1db3f

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

PR: https://git.openjdk.org/jdk21u-dev/pull/2482


More information about the jdk-updates-dev mailing list