On Fri, 4 Oct 2024 22:47:49 GMT, Harshitha Onkar <[email protected]> wrote:

> The following tests are open-sourced. All are manual tests
> 
> 1.    test/jdk/java/awt/TrayIcon/ClearPrevImageTest.java 
> 
> 2.    test/jdk/java/awt/TrayIcon/FocusLostAfterTrayTest.java 
> 
> 3.    test/jdk/java/awt/TrayIcon/MouseMoveTest.java - problemlisted on linux
> 
> 4.    test/jdk/java/awt/TrayIcon/RemoveSystemTrayTest.java
> 
> 5.    test/jdk/java/awt/TrayIcon/TrayIconKeySelectTest.java - Windows only 
> test and problemlisted on windows as the keyboard actions for trayicon don't 
> work.

test/jdk/java/awt/TrayIcon/RemoveSystemTrayTest.java line 65:

> 63:                 4) Press button 'Show message'.
> 64:                 5) If you see the tray icon message then press FAIL else 
> press PASS.
> 65:                 """;

This test was originally created for Solaris issue. 

On macOS and Windows I was unable to remove the "System Tray" although there 
are options like pause notifications and hide trayicons, but in both cases with 
tray icon showing as well as hidden I wasn't able to see TrayIco msg.

On Ubuntu I'm unable to remove the System Tray but used the Do Not Disturb 
option to pause any notifications but in both cases the TrayIcon msg is 
displayed. 

Is this test relevant to be retained or am I missing something while testing  
because I didn't find any options to remove the SystemTray on macOS, Windows & 
Ubuntu?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21365#discussion_r1788401498

Reply via email to