Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6634118

Disabling of system tray icon will not work on Windows Vista

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 7
    • deploy
    • None
    • generic
    • windows

      The disabling of the Java tray icon in both the system tray and via the pop-up menu is broken on Windows Vista. This has been determined by code inspection, not by testing.

      The fix would be to change the use of HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER in the querying of the HideSystemTrayIcon registry key.

      Affected areas are src/plugin/win32/common/SysTrayReg.cpp, IsSysTrayEnabled() and ShowSysTray(), and src/common/windows/native/WindowsJavaTrayIcon.cpp, Java_com_sun_deploy_ui_WindowsJavaTrayIcon_isEnabled0() and Java_com_sun_deploy_ui_WindowsJavaTrayIcon_showSysTray().

      Note that these changes will be picked up in the Java Control Panel code, src/plugin/win32/regutils/RegJControl.cpp, as it uses the SysTrayReg code's routines.

            ccheung Calvin Cheung
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: