TortoiseGit Icon Overlays not showing

后端 未结 2 1207
梦如初夏
梦如初夏 2021-01-04 07:38

I know this question has been asked before but I can\'t seem to make them work now.

I have tried:

  • Rebooting.
  • Installing latest preview release
相关标签:
2条回答
  • 2021-01-04 08:12

    After none of above worked for me, I searched whole registry for

    {C5994560-53D9-4125-87C9-F193FC689CB2}
    

    (Value of "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ Tortoise1Normal")

    I found a key with name

    "{C5994560-53D9-4125-87C9-F193FC689CB2} {0C6C4200-C589-11D0-999A-00C04FD655E1} 0xFFFF" 
    

    inside

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached
    

    So I decided to delete all subkeys of registry key

    "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached"
    

    and after I restarted explorer.exe all tortoise overlays started working for me

    0 讨论(0)
  • 2021-01-04 08:20

    From https://tortoisegit.org/support/faq/#ovlnotall:

    The number of overlays allowed by Windows is limited to 15. Windows uses 4 of those, and the remaining 11 can be used by other applications. And if you have OneDrive installed, that uses another 5 slots. If you then have another cloud drive tool installed, those slots can be used up. TortoiseGit and TortoiseSVN try to be a "Good Citizen ™" and limit its use of overlays to give other apps a chance.

    You can check which other apps are using overlays by using Regedit to look at

    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers

    If there are too many overlay handlers installed and TortoiseGit does not show any overlays, you can try to delete some of the installed handlers from the registry. But be careful when editing the registry!

    Deletion is sometimes a bit tricky. You can also try to prefix the Tortoise* entries with spaces and/or double quotes (").

    The overlay handler are loaded by the order of the ASCII code. Thus you need to make sure the Tortoise* overlay handler has a high precedence to be honored. This can be achieved by prepending spaces (as seen in the screenshot there is a real war going on who has the most spaces).

    0 讨论(0)
提交回复
热议问题