Disabling of system tray icon will not work on Windows Vista

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: 7
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: