On Thu, 16 Oct 2025 13:48:42 GMT, Anass Baya <[email protected]> wrote:
>> I see that we are using `_NET_WORKAREA` in Xtoolkit.java to fetch screen >> insets. You may want to check getScreenInsetsImpl() method to check why >> different values are returned in the 2 cases. > > Hello @honkar-jdk, > Thank you for your follow-up. > Both our source code and the command use the same property, _NET_WORKAREA. > When I noticed the issue, I thought that maybe we are misusing the > _NET_WORKAREA in getScreenInsetsImpl(). However, as you can see in the traces > in [JDK-8357390](https://bugs.openjdk.org/browse/JDK-8357390) , it returns > the same values as the xprop command does. @anass-baya You mentioned previously that the difference might be related to window manager. Which window manager is used in the 2 cases (the one where the test passes vs fails) ? ------------- PR Comment: https://git.openjdk.org/jdk/pull/25521#issuecomment-3411737248
