[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: tsvn 1.6.5+ part of overlay icons missing on Win7 x64

From: Robert Roessler <robertr_at_rftp.com>
Date: Fri, 13 Nov 2009 18:21:31 -0800

Stefan Küng wrote:
>> Robert Roessler wrote:
>>> ...
>>> So there are only 11 overlay slots available for TSVN and other overlay
>>> handlers to use.
>>>
>>> The problem you got on x64 is that Windows loads the overlay handlers in
>>> an unknown order (not documented), and x64 seems to be loading them in a
>>> different order than x86. So x64 loads the overlays until all slots are
>>> filled, but the 'normal' overlay didn't get loaded because when it came
>>> to that overlay handler, all the slots were already filled. x86 loads in
>>> a different order, so an 'unimportant' handler of TSVN was not loaded
>>> and nobody noticed.
>>>
>>> I've changed the Overlays component now so that it prevents the
>>> 'unimportant' overlays from getting loaded if it finds that there
>>> wouldn't be enough slots available for all the important ones.
>>>
>>> Right now, the unversioned overlay isn't loaded if there are 10 or more
>>> entries under
>>> Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellIconOverlayIdentifiers
>>> since the shells own overlay handlers don't seem to be listed there.
>>>
>>> I'll change this a little bit (but not today anymore) so that the
>>> 'added' overlay will go first - I think showing the 'modified' overlay
>>> for added files wouldn't be so bad.
>>>
>>> Also I've noticed that at least the 'offline' overlay handler is
>>> registered under that registry key so I can increase the cut-off limit
>>> by one.
>>
>> This is great, Stefan - it sounds like you have this thing nailed.
>>
>> One thing *I* don't understand is, if my overlay set of choice
>> ("XPStyle") has only NINE icon images, why is there a "shortage of
>> slots" issue at all (with 9< 11 etc)?
>>
>> Or is the shortage because of OTHER software that I have installed?
>
> Just open regedt32, go to
> HKLM\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellIconOverlayIdentifiers
> and see how many other overlay handlers you have installed there.
> And the first handler is skipped if there are 10 or more installed, not
> nine. So you can have one other handler installed and you would still
> get all TSVN overlays. But if you have two or more other handlers, then
> TSVN won't load the 'unimportant' ones.

In the above key, I have the 9 overlays from "Tortoise*": Added ->
Unversioned.

In addition, there seem to be 5 more (not completely matching your
expected set of overlays used by Windows?):

EnhancedStorageShell, HardLinkMenu, \IconOverlayHardLink, Offline Files,
and SharingPrivate.

The #1, #4, (and #5?) are likely Windows overlays, and the others are
presumably from my installed 64-bit "Link Shell Extension".

Does this specific configuration explain why I don't see Unversioned and
Ignored?

Robert Roessler

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2417830

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-14 03:21:54 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.