Managing overlay icons for Dropbox and TortoiseSVN and TortoiseGit

I imagine like many involved in web development, I rely heavily on a number of version control applications: I use Dropbox, Subversion (SVN) and Git.

For years I’ve used the TortoiseSVN client for Windows. It integrates with the Windows Explorer shell making it quick and easy to manage your version controlled code within Explorer.

I like that I don’t need a separate full-blown application that acts as an interface between the code on my PC and the SVN repository; I like that I don’t need to use a command prompt; but I love that TortoiseSVN adds overlay icons to tell me the state of each file (is it up to date, changed, added, etc.?).

These folders are all up to date, and in sync with the SVN repository.
These folders are all up to date, and in sync with the SVN repository.

Recently I’ve started using Git at work and so I’ve also installed TortoiseGit which does something similar.

This is the Bootstrap repo cloned to my PC.
This is the Bootstrap repo cloned to my PC.

And of course Dropbox does the same: it shows you which files have been synchronised with the cloud, and which are in the process of uploading.

My Dropbox folders are up-to-date, synchronized successfully with the Cloud
My Dropbox folders are up-to-date, synchronized successfully with the Cloud

The problem

The problem, though, is that each of these applications uses multiple overlay icons but Windows only uses the first 15.

TortoiseSVN and TortoiseGit both use the same nine icons:

Nine folder, each has an icon on top of it such as ticks, crosses or pluses.
TortoiseSVN and TortoiseGit both use nine icons.

Dropbox uses eight icon overlays. If you have OneDrive installed (which you will if you use Windows 8 or above) then it uses three. And Windows itself uses a few to indicate offline files or enhanced storage.

That’s 22 icon overlays, and like I said: Windows only uses the first 15.

So, inevitably you end up with some icons missing, and depending on which these are it can make life just that little bit harder when trying to figure out quickly whether a file is in sync or not, or whether it’s not even been added.

That means you need to make a choice about which icons you want to use and which you don’t.

How to fix it

The most straight-forward way to do this is by editing the Windows Registry.

The icon overlays can be found in the following key:

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

It turns out you can safely rename the folders which will reorder the icons. The folders are just containers for the real information contained within them.

1. Backup

Export (backup) the ShellIconOverlayIdentifiers folder in its entirety, in case you need to restore it later.

2. Prioritise which icons you need

My current preference is for the following:

  1. 1TortoiseNormal
  2. 2TortoiseModified
  3. 3TortoiseConflict
  4. 6TortoiseDeleted
  5. 7TortoiseAdded
  6. 8TortoiseIgnored
  7. 9TortoiseUnversioned
  8. DropboxExt1 (green Synced)
  9. DropboxExt2 (blue In progress)
  10. DropboxExt5 (red Sync problem)
  11. DropboxExt7 (grey Folder not synchronizing)
  12. EnhancedStorageShell
  13. SkyDrivePro1 (ErrorConflict)
  14. SkyDrivePro2 (SyncInProgress)
  15. SkyDrivePro3 (InSync)

You can use whatever naming convention you prefer. I rename the original folder names with a number prefix and an underscore, e.g. 01_1TortoiseNormal. Folders that I want to drop to the bottom I prefix with a simple x, e.g. x5TortoiseReadOnly.

UPDATE: Some users are reporting that they prefix with a space as this appears to be the trick that OneDrive/SkyDrive has used.

In regedit it looks like this, with the unprioritized icons dropping to the bottom of the list.

List of registry keys
List of registry keys

3. Restart Explorer

  1. Close any Windows Explorer windows.
  2. Press Ctrl+Shift+Esc to open Task Manager.
  3. Look for Windows Explorer listed under “Background processes”.
  4. Right-click it and select “Restart”.

Your taskbar will disappear a couple of times as the Explorer process is restarted, but you should now see all the overlay icons you want within your folders.

(Currently I’m having issues with OneDrive — formerly SkyDrive — but as I don’t rely on it for too much I’m not that bothered, to be honest.)

My mouse pointer kept getting stuck between monitors in Windows 8.1

My mouse pointer kept getting stuck at the edge between monitors
My mouse pointer kept getting stuck at the edge between monitors

A couple of weeks ago I noticed a strange behaviour with Windows 8.1. I have two monitors and whenever I tried to move the mouse between them my mouse pointer got stuck in the middle.

I would have to back up the mouse pointer then move it really quickly to get over the ‘hump’, and reach the next monitor.

Not the charms bar

At first I thought it may be caused by the Windows 8 charms bar. So I switched off the top-right corner navigation under Charms bar > Settings > Change PC settings > PC and devices > Corners and edges.

But it turned out not to be that. The mouse pointer blocking behaviour continued.

Not ModernMix

My attention then turned to ModernMix™, a Windows 8 application from Stardock that allows Modern (Metro) apps to run in a standard window on your desktop.

I had noticed this behaviour only after I had installed ModernMix, so I reasoned that it must have caused it. And sure enough uninstalling ModernMix seemed to stop the behaviour… until I rebooted the PC.

But I didn’t discover this until after I had emailed Stardock support.

Registry hack fixes it

Stardock support were incredibly helpful. The following day I received this reply:

While I can reproduce what you are seeing, I can do so without MM installed. It seems it is a thing with 8.1:

http://winaero.com/blog/fix-mouse-pointer-sticks-on-the-edge-when-moving-between-multiple-monitors/

Please let us know if you should have any further questions/concerns.

And sure enough, the Winaero blog had the solution:

  1. Open Registry Editor (Ctrl + R, then type: regedit)
  2. Navigate to HKEY_CURRENT_USER \ Control Panel \ Desktop
  3. If there is not a DWORD (32-bit) Value called MouseMonitorEscapeSpeed then create one and assign it a value of 1.
  4. Navigate to HKEY_CURRENT_USERSoftware \ Microsoft \ Windows \ CurrentVersion \ ImmersiveShell \ EdgeUI.
  5. If there is not a DWORD (32-bit) Value called MouseMonitorEscapeSpeed then create one and assign it a value of 1.
  6. Reboot Windows, or restart the Explorer shell.