RFR: 8158801: [TEST_BUG] Mixing tests fail because of focus workaround trick [v4]

Khalid Boulanouare duke at openjdk.org
Thu Jul 17 17:08:15 UTC 2025


On Mon, 7 Jul 2025 15:27:58 GMT, Khalid Boulanouare <duke at openjdk.org> wrote:

>> Many Mixing tests failed because the work around click lands on the minimizing area in the window control and causes the tests to fail.
>> 
>> This fix changes the width of base frames which allows most of tests to pass.
>
> Khalid Boulanouare has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into jdk-8158801
>  - Merge branch 'openjdk:master' into jdk-8158801
>  - Changes protected fields to static
>  - Problem list files for Mac OS only
>  - Removes passed tests from problem list
>  - Changes Frame width to 300, uses protected constants for all base tests frame sizes

In Windows machines, the click lands on the reduce control of the window, and this causes the windows to be iconified and the test fails.

I have tested with undecorated frames, but the test continues to fail. The test needs to click on the middle of the Windows title bar (Outside of the controls) to pass.

I will set the frames (The background undecorated frame, and the heavyweight component frames) on center as you have suggested.

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

PR Comment: https://git.openjdk.org/jdk/pull/25971#issuecomment-3084797036


More information about the client-libs-dev mailing list