On Thu, 19 Nov 2026 15:53:09 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

> May be the shadow isn't an issue that we need to fix in JDK code.
> 
> It can be controlled with the `Window.shadow` client property.
> 
> The test can be modified to grab pixels away from the screen edges, or use 
> that property to disable the shadow (after switching from `Frame` to 
> `JFrame`).

Ok, that's exactly what i am going to do. Since there is a way to mitigate the 
issue with the property if the developer chooses so and our default behavior 
mirrors the default native application behavior - i will just change the test 
to measure 5 pixels away from the corner of the captured image and roll back 
the changes to the native window peer.

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

PR Comment: https://git.openjdk.org/jdk/pull/33966#issuecomment-7026218783

Reply via email to