New issue 692 by edmilson...@gmail.com: TortoiseGit icons not showing
correctly
http://code.google.com/p/tortoisegit/issues/detail?id=692
What steps will reproduce the problem?
1. Have a freshly installed, fully updated Windows 64bit Ultimate system;
2. Install the latest version of msysgit (1.7.3.1) and restart;
3. Install the latest 64bit version of TortoiseGit (1.6.3.0) and restart;
4. Create a folder called "test" on the desktop; open it; right-click and
select "Git Create repository here...", click "Ok";
5. Create a file called "test.txt" with the text "test" inside it and
commit it;
6. Look at the file and folder.
What is the expected output? What do you see instead?
I expected to see both the file and the directory it is in marked with a
green "V" for "ok, this is committed". Instead, both the file and the
folder are marked with a red "!" as if there are any changes. Trying to
commit or check the diff shows there are no changes at all.
What version of the product are you using? On what operating system?
As mentioned in the "steps to reproduce".
Please provide any additional information below.
I have tried uninstalling, removing any and all traces of Git from my
system, and reinstalling from several different versions to no avail - this
behavior remains consistent. It used to work fine on this computer before
but I had to reload Windows on it. I have a larger work repository on it as
well, on another drive, that does not show any icons at all from Git, but
if I try to delete it I can't until I kill the TGitCache.exe process. I
have deleted this repository for now for the new tests (as described above)
but it made no difference.
Switching the icon overlay cache from "Default" to any other modes (shell,
shell extended, disabled) makes no icon appear at all. The rest of
tortoisegit works fine, only the file overlays appear to not work.
I'm out of things to try and fix this.
Comment #1 on issue 692 by lzn...@gmail.com: TortoiseGit icons not showing
correctly
http://code.google.com/p/tortoisegit/issues/detail?id=692
Does it duplicate 607
Maybe, but I think it might not be the same case. A full working repository
I have is not showing icons at all and killing TGitCache does not alleviate
the icon problems.
After reinstalling Git and TortoiseGit several times, trying different
repositories and looking for ideas on other bug reports, I managed to fix
this by editing the shell icon overlay identifiers on the Windows registry.
What I did to fix it was:
1 - Open regedit;
2 - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers;
3 - Rename all entries that start with "Tortoise" so they start
with "01_Tortoise";
4 - Kill explorer.exe/tgitcache, restart explorer.
Now everything works fine. I realize this is an ugly workaround, but
somehow it fixed it for me. I am aware of the limitations regarding how
many different shell icons Windows can handle, and that having another
program that uses those (like Dropbox) sometimes makes some icons stop
working, but it does not fully explain the fact that ALL icons weren't
working. Maybe changing the identifiers cleared some icon cache somewhere?
Note: icon overlays for unversioned files still do not work.
Do you have MS Office 2010 installed?
No, I do not have MS Office 2010 (or any version of MS Office) installed.
Like I said, this happened on a freshly installed Windows 7. I barely
installed video drivers before installing msysgit and TortoiseGit.
How many entries are under the location /ShellIconOverlayIdentifiers
including the Git related entries?
Comment 3 fixed the issue for me on a Windows 7 32-bit system. Thanks!
Confirming, comment 3 fixed this issue for me on Windows 7 64-bit.
Problem in my case was that icons would show sporadically for directories,
and not at all for files.
Is this still an issue with a current build?
(When testing be aware of other current problems, like issue 861, issue
862.)
Confirming, comment 3 fixed this issue for me on Windows 7 64-bit Home
premium no other Tortoise version installed i.e SVN, Hg
Confirming, comment 3 fixed this issue for me on Windows 7 64-bit Home
premium no other Tortoise version installed i.e SVN, Hg running
TortoiseGit 1.7.3.0
git version 1.7.6.msysgit.0
I have a Win 7 64-bit system, and I have tried the above suggestions to no
avail.
I have noticed something that might be of interest. I have a feeling the
icon overlays may have problems that are permissions-related.
Yesterday I installed Tortoise & Git for the first time ever, and created a
GIT repository for an existing folder tree. This has shown icons perfectly
throughout 8 hours of usage and about 15 commits.
Today I created a second GIT repository for a totally separate folder tree,
on a removable USB drive. [FYI - this drive has a history of requiring
elevation of priveleges to perform some operations in Explorer, because it
was formatted up on a different machine, I think].
My first repository is still showing overlays fine. The second
repository's overlay icons are showing the exact errant behaviours the OP
reported, even if it is copied onto the local hard disc.
If I view the affected repository in Explorer, or in Visual Studio 2010's
Open File dialog, I get errant icon overlays. ** But if I run visual
Studio 2010 with elevated ADMIN priveleges, I see the correct icon overlays
in VS2010's Open File dialog. ** Right now, I have Explorer and VS2010's
windows side by side, showing different overlays for the same repository,
on the same machine.
I'm sorry I can't share these commercial repositories.
Additional - I can reproduce the inconsistent overlay views I mentioned in
Comment 14 by running two copies of Notepad.EXE, one as a regular user, and
the other elevated, and comparing what their Open File dialogs are
showing. A VS2010 installation is not required to reproduce the problem.
I'm running Windows 7 Professional and I:
- Installed the latest version of msysgit (1.7.7.1)
- Installed the latest 64bit version of TortoiseGit (1.7.5.0)
- Created a repository, added files, committed
and no icons.
I only had to do step 1 from Comment 9 by dev....@gmail.com:
- Open regedit.exe
- Go to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer
- Add a new string key "Max Cached Icons" with value "2000"
closed/restarted explorer and icons display!
Thanks
For Windows 7 Professional 64 bit:
I did what #16 did.
Did not have to run Point 3 (i.e. only for TortoiseSVN, not TortoiseGit) in
#9.
It worked.
As this issue still valid/can we close this issue?