On Mon, 7 Oct 2024 18:51:15 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

>> 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?
>
> It's possible on Ubuntu, but not out of the box, it requires disabling the 
> Ubuntu AppIndicators Gnome Shell extension.
> AFAIK to disable extensions you need to install additional software(or 
> perform some command in the terminal), so I suggest just not adding this test.

Thank you for clarifying @azvegint.  Deleted the test.
When I checked there were few suggestion online about additional installations 
required (as you mentioned above) for the removal of tray icon and it didn't 
seem to be straight-forward (like enabling/disabling in Settings) hence wanted 
to clarify before deleting this test.

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

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

Reply via email to