RFR: 8303904: [macos]Transparent Windows Paint Wrong (Opaque, Pixelated) w/o Volatile Buffering

lawrence.andrews duke at openjdk.org
Tue Feb 4 01:04:13 UTC 2025


On Tue, 4 Feb 2025 00:07:48 GMT, anass baya <duke at openjdk.org> wrote:

> The PR includes two fix : 
> 1 - The first fix targets proper rendering of the transparent image.
> 2 - The second fix ensures the image is painted at the correct resolution to avoid pixelation.

test/jdk/javax/swing/JWindow/NonVolatileTransparentWindows/PixelatedImageTest.java line 2:

> 1: /*
> 2:  * Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.

Looks like this is the new test please fix the year

test/jdk/javax/swing/JWindow/NonVolatileTransparentWindows/TransparentWindowTest.java line 71:

> 69:         setLocationRelativeTo(null);
> 70: 
> 71:         // Check transparency and border color

Move the comment to the testWindowProperties() method

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23430#discussion_r1940333511
PR Review Comment: https://git.openjdk.org/jdk/pull/23430#discussion_r1940335366


More information about the client-libs-dev mailing list