在Windows 7下,我似乎无法让图标显示出来,我真的很怀念Windows XP的这一点。
如何解决?
在Windows 7下,我似乎无法让图标显示出来,我真的很怀念Windows XP的这一点。
如何解决?
当前回答
我在这里(和其他一些地方)尝试了所有的东西,对我有用的(在做了所有这些之后,我认为注册表更改是强制性的)是将图标覆盖\状态缓存的设置从默认更改为Shell,我还检查了“仅在资源管理器中显示覆盖和上下文菜单”。不知道是谁干的,但现在有用了。
其他回答
Windows只能显示有限数量的覆盖图标(总共15个,在Windows之后有11个)。像Office Groove, Dropbox, Mozy, Carbonite等程序将劫持一堆11种可能的覆盖图标(如果微软增加这些图标的数量,因为使用它们的应用程序的数量似乎越来越多)…
你可以看到设置了哪些覆盖,并在注册表中更改它们(自担风险):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers
If you are using TortoiseCVS (and have nothing else using overlay icons), you will get a couple of TortoiseSVN Icons, and all of your TortoiseCVS icons. This is because the overlay icons are used in alphabetical order. Again, at your own risk (editing the registry may blow up your computer, yada, yada, yada -- and if you are reading Stack Overflow and using Windows and haven't edited the registry, you are a rare beast indeed), feel free to rename them (I suggest putting numbers in front of the ones you want to use and "z_"'s prefixed to the ones you don't need). The TortoiseSVN Shell extensions are nicely named so you know what they do, the TortoiseCVS extensions are not. After looking through the source code, I found the pertinent information:
TortoiseCVS0 -在CVS TortoiseCVS1 -不在CVS中 TortoiseCVS3 -冲突 TortoiseCVS4 -在CVS只读 乌龟ecvs5 -忽略 乌龟ecvs6 -新增 TortoiseCVS7 -删除 龟龟ecvs8 -锁定
我刚刚在一台WinXP和两台Win7机器上升级到TSVN 1.6.8.19260。升级后,所有3台机器上的覆盖图标都消失了。在上面提到的注册表项下,我只找到脱机文件的条目。 我只需要重新安装/修复TSVN安装,重启后图标重新出现。我从未在任何以前的TSVN版本中检测到这种行为,我当然每次都以相同的方式安装TSVN,具有相同的权限。
我建议向微软投诉图标覆盖限制低得离谱。如果我们有足够多的人抱怨,也许他们会解决这个问题的真正根源:
查看页面底部的评论: http://msdn.microsoft.com/en-us/library/cc144123 (VS.85) . aspx
给微软Windows 7团队关于这个问题的反馈: http://mymfe.microsoft.com/Windows%207/Feedback.aspx?formID=195
勒!
在对你的注册表或Kris Erickson(优秀的)回答或下面列出的类似程序做任何事情之前,有一些事情需要考虑……
您是在网络驱动器上吗?
如果有,进入TortoiseSVN设置(右键单击任意文件夹> TortoiseSVN > settings),然后进入“图标叠加”
确保你选中了“网络驱动器”,如图所示:
默认情况下,在新的Tortoise安装中,网络驱动器没有添加图标。
这为我们解决了问题。如果这对你来说失败了,那么显然你可以通过这里列出的(稍微)复杂的解决方案。
为了完成Johannes的回答,你可以检查这个线程,其中提到了另一个原因(第一个原因是安装32位客户端而不是64位客户端)(强调我的):
只有最新版本的TSVN和TCVS能够共享覆盖图标,并且由于资源管理器有14个覆盖图像和无关的覆盖图标的限制 只是不出现你可能有太多… 如果它的覆盖图标显示,你必须实际使用 32位的Windows资源管理器,这当然意味着你也必须这样做 安装32位版本的TSVN。
在安装TortoiseVCS时可能会出现这个问题,因为:
Looking at what got installed in the filesystem and the registry, it looks like they tried to do what I do with my Shell extensions - install both 64 and 32 -bit versions, so that nobody says "I don't see my overlays/menus"! ;) Unfortunately, it looks like the registry entries for 32-bit got hosed, so the 32-bit extension DLL, even though present, does not have the correct registry entries. If in doubt I suggest to deinstall TCVS and TSVN. Then install TSVN. Maybe after installation reboot twice, not only once. And if they still don't show up go to software control panel and choose to repair the installation. That did the trick for me with when upgrading from the previous to the current version. You should probably install the TortoiseXYZ variant you plan to use mainly first, to improve its chances to fall into one of those limited number of overlay icons slots before the TortoiseXYZ variant you use less. Always keep these limited number of overlay icon slots in mind when trying to analyze malfunctions.