JDK-6611346 : System tray icon not showing up
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u5,6u10
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows,windows_xp
  • CPU: generic,x86
  • Submitted: 2007-09-30
  • Updated: 2010-09-08
  • Resolved: 2007-12-26
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 6
6u10 b09Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The Java system tray icon is not showing up with the new plugin. This is probably because it is in native code no longer loaded by the new plugin's loading sequence. Ideally we should be able to implement this in pure Java as of Java SE 6. However a native code implementation probably needs to be added in case the attached JRE instances are a previous release than 6.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u10/6611346.0
27-11-2007

EVALUATION The code in the old plugin which installed the Java icon in the system tray was inextricably tied to the old plugin's infrastructure, both COM and the old plug-in's interfaces. Ported this code from C++ and COM to Java, and placed the port in the shared deployment code. Internationalization of the associated strings and loading of the icon resource are now handled in Java code. A new interface, JavaTrayIconController, has been defined to allow outside code to define how it shows and hides the Java Console. This will allow Java Web Start to trivially reuse this code, for example to fix 6349995 (RFE: A way to open the console at run-time when running a WebStart app). Ensured that the fix for 6626909 (Java Control Panel not launching from System tray in Vista) is present in this webrev. In conjunction with the new Java Plug-In, this code also fixes the longstanding problem of lingering Java icons in the system tray after the browser exits, since shutdown hooks are run when the new plug-in's attached JVM instances exit. Tested manually with all menu actions and balloon tooltip on Windows XP, including running on top of multiple JREs simultaneously and opening and closing their Java Consoles from the system tray menu. No regression test; hard to create one. Note that this fix also contains fixes that were found to be necessary to make fetching of proxies and cookies work in the system AppContext in the new plug-in. These issues showed up when attempting to dismiss the About Java dialog launched from the tray icon. *** (#1 of 1): [ UNSAVED ] ###@###.###
27-11-2007