<AWT Dev> RFR: 8250804: Can't set the application icon image for Unity WM on Linux.
Sergey Bylokhov
serb at openjdk.java.net
Fri Mar 5 01:22:42 UTC 2021
On Fri, 5 Mar 2021 01:17:38 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> 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.
>
> test/jdk/ProblemList.txt line 855:
>
>> 853: java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java 8162380 generic-all
>> 854: java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.java 8163086 macosx-all
>> 855: java/awt/image/multiresolution/MultiResolutionIcon/IconTest.java 8250804 macosx-all,linux-all
>
> Does this test work fine on the macOS? Looks like it was reported here:
>
> https://bugs.openjdk.java.net/browse/JDK-8250804?focusedCommentId=14379402&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14379402
O, I see that you made it Linux only.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2838
More information about the awt-dev
mailing list