On Thu, 19 Nov 2026 03:10:21 GMT, Alexander Zuev <[email protected]> wrote:
> - Remove the test from problem list; > - Add a variable to store the hasShadow property; > - Set hasShadow to false when entering the full screen mode; > - Restore it to the last known value when leaving the full screen mode; > > > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). 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`). src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m line 1756: > 1754: [nsWindow setStyleMask:styleMask]; > 1755: [nsWindow setLevel: window.preFullScreenLevel]; > 1756: [nsWindow setHasShadow:window.preFullScreenHasShadow]; If a user enables window shadows during fullscreen mode by calling `jframe.getRootPane().putClientProperty("Window.shadow", true)`, the setting can be overwritten on `nativeExitFullScreenMode`. ------------- PR Review: https://git.openjdk.org/jdk/pull/33966#pullrequestreview-5978172983 PR Review Comment: https://git.openjdk.org/jdk/pull/33966#discussion_r4631079986
