RFR: 8279879: [TESTBUG] [macos] ActionEvent triggered when right-clicking TrayIcon
Sergey Bylokhov
serb at openjdk.java.net
Wed Jan 12 03:29:26 UTC 2022
On Tue, 11 Jan 2022 19:29:11 GMT, Alisen Chung <achung at openjdk.org> wrote:
> fixed test bug, removed extra ActionEvent from TrayIcon
test/jdk/java/awt/TrayIcon/RightClickWhenBalloonDisplayed/RightClickWhenBalloonDisplayed.java line 113:
> 111: robot.mouseRelease(InputEvent.BUTTON3_DOWN_MASK);
> 112: robot.delay(1000);
> 113: robot.waitForIdle();
The purpose of the test is to check the action event while the balloon is visible after the left click (the balloon is shown on the mouse click event), so removing the left click does not seem correct, no?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7035
More information about the client-libs-dev
mailing list