On Mon, 5 Oct 2026 09:25:17 GMT, Jayathirth D V <[email protected]> wrote:
>> GetScreenLocTest is mainly checking whether getLocationOnScreen() picks >> proper information. >> >> With latest JDK code this test fails locally on macOS and windows, mostly >> because mouse event is not getting recognised because of decorated window. >> On local Oracle Linux VM, i can see that sometimes the smaller frame is not >> even shown and test fails. We need to make the windows undecorated and make >> sure things are rendered before we start selecting things on the frame. >> >> After making test more robust, it runs fine on all platforms. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Jayathirth D V has updated the pull request incrementally with two additional > commits since the last revision: > > - PL on windows > - Revert scale and EDT My interpretation of the discussion about windows fractional scaling, is that the APIs are behaving as specified, and there's no bug, but information the test needs cannot be communicated across those APIs. In the absence of new APIs, what I suggest is that you update the test to look at the device scale in use and choose coordinates at which to display the window which can successfully round trip. https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/java/awt/GraphicsConfiguration.html#getDefaultTransform() ------------- PR Comment: https://git.openjdk.org/jdk/pull/32764#issuecomment-6000913300
