How do I fix TortoiseSVN displaying random icon overlays?

8

3

I use TortoiseSVN (latest version) and sometimes all the icon overlays it uses get randomized with quite peculiar results. Is there any way to fix this?

Jon Cage

Posted 2010-06-16T10:04:03.643

Reputation: 2 289

Answers

5

From the TortoiseSVN FAQ:

Why do the overlay icons sometimes change to random graphics?

The Windows icon cache is a fairly buggy creature. You can solve this in one of the following ways:

  • Install Microsoft's TweakUI and run the option to rebuild icons.

  • Or increase the icon cache size. Go to HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows>\\CurrentVersion\\Explorer and add a new String Value called Max Cached Icons. The default value is 500 - try increasing it to 2048 (see Q132668 in the Microsoft knowledge base for more details).

  • Or delete the file called ShellIconCache in your Windows directory. And reboot.

  • With TortoiseSVN 1.3.0 and later, you can also rebuild the icon cache by calling TortoiseProc from the command line like this TortoiseProc.exe /command:rebuildiconcache

Stefan

Posted 2010-06-16T10:04:03.643

Reputation: 311

3

Found a solution:

Using Registry Editor, add a Max Cached Icons string value with a value data of 2000 to the following registry key, and then restart your computer:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer

Jon Cage

Posted 2010-06-16T10:04:03.643

Reputation: 2 289

I suggest that you delete this answer, and put this info in the post itself. It's just too weird having the poster also giving answers. – harrymc – 2010-06-17T11:29:23.443

3Really? But that's what the official guidelines say to do! Even if the OP is the one who gives the answer, it should appear in an answer post. But maybe I'm confused. – Shalom Craimer – 2010-07-04T14:20:57.297

@scraimer You're entirely correct, for three reasons: if the answer is embedded in the question, the resolution is easily overlooked, the question cannot have an accepted answer and from a list view, it doesn't appear as having any (accepted) answer(s). – Paul Lammertsma – 2011-03-29T20:31:55.537