RFR: 8357390: java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java Test failing on Ubuntu 24.04 Vm Hosts used by Oracle's internal CI system

Harshitha Onkar honkar at openjdk.org
Thu Oct 16 16:45:13 UTC 2025


On Thu, 16 Oct 2025 13:48:42 GMT, Anass Baya <abaya at openjdk.org> 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


More information about the client-libs-dev mailing list