JDK-8341278 : Open source few TrayIcon tests - Set7 #21365
JDK-8341278 : Open source few TrayIcon tests - Set7 #21365honkar-jdk wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back honkar! A progress list of the required criteria for merging this PR into |
|
@honkar-jdk This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 24 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
@honkar-jdk The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
| then press FAIL else goto next step. | ||
| 4) Press button 'Show message'. | ||
| 5) If you see the tray icon message then press FAIL else press PASS. | ||
| """; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 SystemTray and it didn't seem to be straight-forward (like enabling/disabling in Settings) hence wanted to clarify before deleting this test.
|
/integrate |
|
Going to push as commit 4d50cbb.
Your commit was automatically rebased without conflicts. |
|
@honkar-jdk Pushed as commit 4d50cbb. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The following tests are open-sourced. All are manual tests
test/jdk/java/awt/TrayIcon/ClearPrevImageTest.java
test/jdk/java/awt/TrayIcon/FocusLostAfterTrayTest.java
test/jdk/java/awt/TrayIcon/MouseMoveTest.java - problemlisted on linux
test/jdk/java/awt/TrayIcon/RemoveSystemTrayTest.java
test/jdk/java/awt/TrayIcon/TrayIconKeySelectTest.java - Windows only test and problemlisted on windows as the keyboard actions for trayicon don't work.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/21365/head:pull/21365$ git checkout pull/21365Update a local copy of the PR:
$ git checkout pull/21365$ git pull https://git.openjdk.org/jdk.git pull/21365/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 21365View PR using the GUI difftool:
$ git pr show -t 21365Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21365.diff
Webrev
Link to Webrev Comment