Sergio Pereira

Sponsors

The Lounge

Wicked Cool Jobs

Syndication

Oh, no. My TortoiseSVN overlays are missing

It's a matter of time. Good were the days when almost no application knew how to put overlays on your file icons in Explorer. These days it seems this is the coolest thing ever and virtually all file system type of utilities want to add their own.

Sooner or later you will install some utility and not notice anything different. But after the next reboot, poof, your TortoiseSVN overlays are gone. And, depending on how much time elapsed between the utility installation and that reboot, you may not have the slightest clue of what happened. Reinstalling TSVN won't fix it

TFS Power tools, Dropbox, Mozy, stop breaking my TSVN overlays

I should not blame these applications for a Windows shell limitation. To be fair, TSVN is the greater offender of them all.

It seems that the shell only supports 15 different icon overlays and TSVN creates 9 of those. After 15 the shell starts ignoring the extra ones. The trick is that Windows chooses the first 15 alphabetically from their entries in the system registry.

I love simple fixes

The fix is rather obvious; just make sure the overlays you want to be active are registered alphabetically before the ones you can live without.

Open the registry editor and go to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers and look at all the child keys in there. It will be obvious that, if you want to preserve the TSVN overlays like me, you need to keep the ones starting with Tortoise* before the other ones.

If you look at the image below you'll see that I changed my entries by prefixing the undesirable ones with z_, following someone else's suggestion.

After that change you just need to kill and restart explorer.exe using Task Manager (or logoff or reboot the machine depending on your tolerance to pain.)

I believe this is a common problem so I hope this tip helps somebody.


Posted 01-05-2010 3:13 AM by sergiopereira

[Advertisement]

Comments

Harry McIntyre wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 6:31 AM

It might be worth renaming the tortoise ones to have a . at the start so they are always first. Haven't checked it works though :)

Harry McIntyre wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 7:28 AM

It works with a .

sergiopereira wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 9:11 AM

@Harry, that's a good idea.

Nick Koszykowski wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 10:39 AM

I just checked mine--all the Tortoise entries begin with a number: 1TortoiseNormal,2TortoiseModified, etc.  It seems that someone at Tortoise had a similar idea and took care of it in their program (I'm currently using TortoiseSVN version 1.6.6).

sergiopereira wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 11:39 AM

@Nick, Ooooh, that's pretty sneaky of them. Wait until Dropbox starts prefixing with dots or underscores :)

My version was 1.6.5.

Kyle Baley wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 2:22 PM

I've been fighting this for some time. Found this same workaround but the issue is that the Tortoise overlays don't appear in my registry no matter how many times I uninstall and reinstall. Hasn't been a big enough issue to warrant further investigation though.

sergiopereira wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 2:29 PM

@Kyle, what OS are you on? Win7 x64? I think I ran my installer as admin, if that makes any difference.

For me it would be kind of hard to get used to Tortoise without the overlays.

Mike Murray wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 4:06 PM

Yeah, apparently TSVN 1.6.6 has the numbers in front of the Tortoise IconOverlay registry keys.

sergiopereira wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 6:53 PM

Well, in case anyone is wondering where did your TFP/Mozy/Dropbox icons overlays went after installing TSVN - now you know :)

Rob Reynolds wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-05-2010 10:26 PM

I ran into a similar problem...TortoiseSVN context menus missing in Windows x64:

ferventcoder.com/.../tortoisesvn-missing-context-menu-after-vista-upgrade-from-home-to.aspx

Thanks for the tip.

Tim Tyrrell wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-06-2010 10:39 AM

Used the periods fix, thanks!

Karl wrote re: Oh, no. My TortoiseSVN overlays are missing
on 01-24-2010 4:39 PM

Thanks for the post, Sergio. I have a Windows 7 Ultimate x64 laptop that I just purchased, and only this afternoon did I install Dropbox on it. This fix worked great for me. Thanks!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)

CodeBetter.Com