New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8250804: Can't set the application icon image for Unity WM on Linux. #2838
Conversation
👋 Welcome back azvegint! A progress list of the required criteria for merging this PR into |
@@ -852,7 +852,6 @@ java/awt/dnd/DnDFileGroupDescriptor/DnDFileGroupDescriptor.html 8080185 macosx-a | |||
javax/swing/JTabbedPane/4666224/bug4666224.html 8144124 macosx-all | |||
java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java 8162380 generic-all | |||
java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.java 8163086 macosx-all | |||
java/awt/image/multiresolution/MultiResolutionIcon/IconTest.java 8250804 macosx-all,linux-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this test work fine on the macOS? Looks like it was reported here:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O, I see that you made it Linux only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it does not work on macOS.
For changing dock icon on macOS you should use java.awt.Taskbar#setIconImage
or assign it with application bundle.
@azvegint 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 12 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 |
/integrate |
@azvegint Since your change was applied there have been 14 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 2afbd5d. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
As of now we can have two icons: on the side dock and on the top bar.
But this test was written for an old time Unity with an icon in the side dock only.
Icon at the top by default is displayed as grayscale(the actual reason of submitting bug report).
BTW it may not be presented depending on Gnome Shell settings.
setIconImage()
seems to be working as expected in this case, but we need to clarify the test's instruction.Besides that the test has another issue: it does not fail on pressing "Fail" button. It is also fixed.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2838/head:pull/2838
$ git checkout pull/2838