Details
-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 23
-
b14
-
os_x
Description
The java/awt/Choice/SelectCurrentItemTest/SelectCurrentItemTest.java and test/jdk/java/awt/Choice/SelectNewItemTest/SelectNewItemTest.java tests do not open the choice popup on macOS. Because the popup is not open, the test does not perform its job.
SelectCurrentItemTest.java does not fail in this case, no ItemEvent is received; SelectNewItemTest.java fails and it is in ProblemList.txt.
If I add MouseListener to `theChoice`, it does not receive mouse events: pressed, released and clicked.
The test should fail if mouse click to open the popup is received because the test is not in the state it expected. Unfortunately, there are no events to determine the popup of the choice is open.
This bug is likely due to JDK-8322653. If add a component to the right of the choice, it receives mouse events and the test works correctly.
SelectCurrentItemTest.java does not fail in this case, no ItemEvent is received; SelectNewItemTest.java fails and it is in ProblemList.txt.
If I add MouseListener to `theChoice`, it does not receive mouse events: pressed, released and clicked.
The test should fail if mouse click to open the popup is received because the test is not in the state it expected. Unfortunately, there are no events to determine the popup of the choice is open.
This bug is likely due to JDK-8322653. If add a component to the right of the choice, it receives mouse events and the test works correctly.
Attachments
Issue Links
- relates to
-
JDK-8339338 Drop Choice testing from ComponentItemEventTest.java
- Open
-
JDK-8322653 [macos14] : Mouse clicks are not received within 3 pixels of the window boundary
- Open
-
JDK-8332889 Choice/SelectCurrentItemTest/SelectCurrentItemTest.html test fails on macOS
- Closed
- links to
-
Commit(master) openjdk/jdk/ef96a7b0
-
Review(master) openjdk/jdk/20601