[jdk21u-dev] RFR: 8280482: Window transparency bug on Linux
duke
duke at openjdk.org
Wed Nov 19 15:49:49 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).
@rm-gh-8
Your change (at version fb34b9780cecb3e18193e1573734c20784ed80fb) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2482#issuecomment-3553424962
More information about the jdk-updates-dev
mailing list