RFR: 8332901: Choice/SelectCurrentItemTest/SelectCurrentItemTest.java doesn't open popup on macOS

Harshitha Onkar honkar at openjdk.org
Fri Aug 16 17:31:48 UTC 2024


On Fri, 16 Aug 2024 14:11:27 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> I don't understand how using frame.setSize resolve the problem? Both pack and setSize call reshape to apply the new location and size.

When the frame width and height is increased then the mouse is no longer a resize indicator which makes the 1st click (on the choice dropdown button) work but the 2nd click on the choice item needs to be adjusted accordingly.

I believe frame.setResizable(false) or adding a panel as you suggested is a better and easier option.

> We can modify this test to avoid JDK-8322653

Since there are already few tests problemlisted to track the external issue JDK-8322653, I think any of the above workarounds that you suggested can be added to avoid JDK-8322653.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20601#discussion_r1720121844


More information about the client-libs-dev mailing list