On Mon, 8 Sep 2025 16:51:25 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> If the initial size is correct now, why do we receive a notification in Java 
> when the size hasn't changed from the initial one?

It is coming from 

https://github.com/openjdk/jdk/blob/ec7432331ba09cc2d257af51abc494aab209d912/src/java.desktop/unix/classes/sun/awt/X11/XContentWindow.java#L159-L162

https://github.com/openjdk/jdk/blob/ec7432331ba09cc2d257af51abc494aab209d912/src/java.desktop/unix/classes/sun/awt/X11/XContentWindow.java#L128-L134

`!(newBounds.equals(getBounds())); ` check has actually different sizes. I'm 
not sure, though, why it compares all bounds instead of just size, like in 
other places.

However, a more in-depth evaluation is beyond the scope of the current test 
sprint.

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

PR Comment: https://git.openjdk.org/jdk/pull/27149#issuecomment-3281351988

Reply via email to