1. TortoiseHg
  2. TortoiseHg
  3. hgtk
  4. Issues
Issue #837 resolved

Added overlays missing on Windows 7

Adrian Buehlmann
created an issue

Having installed: Windows 7 Ultimate 64 bit final tortoisehg-unstable-0.9.1.1+189-e3deec55878d-hg-1.4.1+125-741c679bccd2.exe

Using default 64bit explorer.

Adding a file (hg add) to a repo.

No overlay icon is shown on the added file (which is wrong. Expected: plus sign overlay icon).

DebugView repeatedly shows:

{{{ [3948] [THG] Thgstatus::update: sending 'error|uninitialized handlers: added' to \.\pipe\TortoiseHgRpcServer-bc0c27107423-adi [3948] [THG] * InitStatus: error: uninitialized handlers: added }}}

Comments (13)

  1. Adrian Buehlmann reporter

    in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers

    I have

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\EnhancedStorageShell]
    @="{D9144DCD-E998-4ECA-AB6A-DCD83CCBA16D}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\IconOverlayHandlerAccessible]
    @="{3DBF5F01-3287-46EB-82CF-45AA5C241162}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Offline Files]
    @="{4E77131D-3629-431c-9818-C5679DC83E81}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\SharingPrivate]
    @="{08244EE6-92F0-47f2-9FC9-929BAA2E7235}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseAdded]
    @="{C5994566-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseConflict]
    @="{C5994562-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseDeleted]
    @="{C5994565-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseIgnored]
    @="{C5994567-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseLocked]
    @="{C5994563-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseModified]
    @="{C5994561-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseNormal]
    @="{C5994560-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseReadOnly]
    @="{C5994564-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseUnversioned]
    @="{C5994568-53D9-4125-87C9-F193FC689CB2}"
    
    
    
  2. Adrian Buehlmann reporter

    Further analysis reveals that Microsoft Windows 7 ultimate final preinstalls the following 3 overlay handlers:

    EnhancedStorageShell, Offline Files, SharingPrivate

    The IconOverlayHandlerAccessible is from PGP Corporation, which I thus must have gotten because I installed their "PGP Desktop" desktop.

    I will try to disabling

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\IconOverlayHandlerAccessible
    

    using autoruns.exe from sysinternals

  3. Adrian Buehlmann reporter

    Side note: I found in

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers
    

    the following entries (export from regedit)

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\1TortoiseNormal]
    @="{C5994560-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\2TortoiseModified]
    @="{C5994561-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\3TortoiseConflict]
    @="{C5994562-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\4TortoiseLocked]
    @="{C5994563-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\5TortoiseReadOnly]
    @="{C5994564-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\6TortoiseDeleted]
    @="{C5994565-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\7TortoiseAdded]
    @="{C5994566-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\8TortoiseIgnored]
    @="{C5994567-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\9TortoiseUnversioned]
    @="{C5994568-53D9-4125-87C9-F193FC689CB2}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\EnhancedStorageShell]
    @="{D9144DCD-E998-4ECA-AB6A-DCD83CCBA16D}"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\SharingPrivate]
    @="{08244EE6-92F0-47f2-9FC9-929BAA2E7235}"
    
    
  4. Adrian Buehlmann reporter

    Disabling

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\IconOverlayHandlerAccessible
    

    using autoruns.exe didn't help. I'm still seeing:

    [3844] [THG] Thgstatus::update: sending 'error|uninitialized handlers: added' to \\.\pipe\TortoiseHgRpcServer-bc0c27107423-adi
    [3844] [THG] ***** InitStatus: error: uninitialized handlers: added
    

    in DebugView and no "added" overlays. So "PGP Desktop" ist now out of the equation.

  5. Adrian Buehlmann reporter

    After additionally disabling

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\EnhancedStorageShell
    

    using autoruns.exe, the error in DebugView is gone and the added overlay icon is shown.

    So there are too many overlay handlers in Windows 7 ultimate 64 bit final after installing TortoiseOverlays.

    Apparently, the first overlay handler that is dropped is the "added" handler.

    I still don't see a question mark overlay icon (should be shown on directories during "Update Icons"). Interestingly, there is no error message in DebugView for the question mark handler.

  6. Adrian Buehlmann reporter

    After additionally disabling

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\SharingPrivate

    using autoruns.exe, the question mark overlays are now working.

  7. Adrian Buehlmann reporter

    After installing TortoiseOverlays-1.0.9.17375-x64.msi, I can enable "SharingPrivate" handler and still see the question mark and the added overlays.

    If I additionally enable the "EnhancedStorageShell" handler (=default after installing Windows 7), the "added" overlays are still working, only question mark overlays don't work.

    So I suggest we switch to using TortoiseOverlays-1.0.9.17375 (was signed on 2009-10-07 by Stefan Kueng).

    This would allow to have at least the "added" overlays working on Windows 7 without having to turn off any pre-installed handlers.

  8. Steve Borho

    I just saw there's an even later version 1.0.10. I know they (TSVN developers) prefer us to stick with their tip versions of TortoiseOverlays. Care to smoke test 1.0.10 on Win7?

  9. Adrian Buehlmann reporter

    Ah, I overlooked that (stupid sorting).

    I just installed TortoiseOverlays-1.0.10.17694-x64.msi on my Win 7 Ultimate 64 bit.

    Quick testing with 64 bit explorer shows nothing bad.

    It might even make sense to take 1.0.10 for thg 0.9.2 (aka stable).

  10. Log in to comment