On Wed, 20 Apr 2022 05:10:23 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
> Only check that insets of the fully expanded undecorated window is not bigger > than device insets. They can be smaller, it is a normal situation. I as far as I remember the same behavior was on old windows and jdk7 or even [jdk6](https://stackoverflow.com/questions/7403584/does-jframe-setextendedstatemaximized-both-work-with-undecorated-frames), the root cause is that awt does not support the "MAXIMIZED_BOTH"/etc states for the undecorated frames, we should implement it similar to this https://bugs.openjdk.java.net/browse/JDK-8176359 ------------- PR: https://git.openjdk.java.net/jdk/pull/8314