JDK-8214765 : All TrayIcon MessageType icons does not show up with gtk3 option set
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8,11,12,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_2.2
  • CPU: unknown
  • Submitted: 2018-11-29
  • Updated: 2019-09-26
  • Resolved: 2019-01-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 8 Other
11.0.4-oracleFixed 13 b08Fixed 8u221Fixed openjdk8u222Fixed
Related Reports
Relates :  
Description
Testsuite name:AWT manual
Test name(s):AWT_SystemTray/Manual/TrayIconBasicCheck
Product(s) tested:JDK8u202b04(32bit)
Test tool: tonga-4.0.2-rc2.jar
OS/architecture:oel6.4-uek-x86
Options:-Djdk.gtk.version=3 -Djdk.gtk.verbose=true 

Actual behavior:
1.There is no icon displayed for each of the message types with options -Djdk.gtk.version=3 -Djdk.gtk.verbose=true,please refer to TrayIconBasicCheck-with-options.png
2.There is no such issue without Options.Please refer to TrayIconBasicCheck-without-options.png

Comments
Fix Request This change shall be backported to JDK11 updates because it's also part of Oracle 11.0.4. Patch applies cleanly and the risk is low. Regression testing will be done in SAP's infrastructure before pushing.
15-05-2019

Fix request was added by error. This patch was not in my test queue. Removing the recent request/approval tags. This issue is up for grabs to backport.
19-03-2019

This issue is similar to https://bugs.openjdk.java.net/browse/JDK-8214111, but not a duplicate as fixing one will not fix other.so not closing anyone as duplicate. In gtk version 3.10, the icon names have been changed, but jdk did not incorporate those specification changes. So the icons were not loading correctly. This fix addresses that issue.
04-02-2019