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

Disabling of system tray icon will not work on Windows Vista

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      windows

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: