RFR: 8158801: [TEST_BUG] Mixing tests fail because of focus workaround trick [v12]
Khalid Boulanouare
duke at openjdk.org
Wed Jul 23 14:52:55 UTC 2025
On Wed, 23 Jul 2025 14:47:41 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 21 additional commits since the last revision:
>
> - Removes not needed component frace ancestor.
> - Problem unlists passed tests
> - Uses frame requestFocus instead of robot clicks for focus
> - Removes extra Robot waitForIdle
> - Merge branch 'openjdk:master' into jdk-8158801
> - Restores copyright year for tests not updated
> - Removes some tests from problem list
> - Uses request frame focus instead of Robot clicks to request frame focus
> - Revert "Changes Frame width to 300, uses protected constants for all base tests frame sizes"
>
> This reverts commit b6558c79a129837c3d8d92cdc99d9417e630126d.
> - Revert "Removes passed tests from problem list"
>
> This reverts commit 2f9be981c785ba40574fc5710c0330fb3abc60d2.
> - ... and 11 more: https://git.openjdk.org/jdk/compare/1b51461f...b558508f
With the current changes we are back to the same fix as defined by commit f68973cc2e4b68a18b7c6ec04aebd75bf0c1899a.
Currently, only the following tests failed:
java/awt/Mixing/AWT_Mixing/JComboBoxOverlapping.java
java/awt/Mixing/AWT_Mixing/JInternalFrameMoveOverlapping.java
java/awt/Mixing/AWT_Mixing/JMenuBarOverlapping.java
java/awt/Mixing/AWT_Mixing/JPopupMenuOverlapping.java
java/awt/Mixing/AWT_Mixing/JSplitPaneOverlapping.java
java/awt/Mixing/AWT_Mixing/MixingPanelsResizing.java
java/awt/Mixing/AWT_Mixing/OpaqueOverlappingChoice.java
For each of the tests above, I create PR which relies on the current PR. I will bring all fixes to this PR and update other PRs that its fix has moved here, and close it, all when possible.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25971#issuecomment-3108982577
More information about the client-libs-dev
mailing list