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

RE: Re: No overlays on Windows 7 with dropbox

From: Giscard Biamby <giscardo_at_yahoo.com>
Date: Sun, 27 Dec 2009 16:39:31 -0800 (PST)

The state member is a UINT and it looks like only 16 out of the 32 bits are used for anything. I would guess MS could use some or all of the unused bits to increase the # of overlay icon slots.

They already have some unknow method of handling the multiple items issue, and the 3rd party handlers also get to specify a "priority" parameter exactly for this purpose. I imagine some kind of setting could be stored in the registry or something that lets the user decide the order of precedence between the different overlay using apps they have.

Someone on stackoverflow.com has made the good point that it's not an ideal method of displaying info exactly for the reason that it's hard or impossible to show more than one bit of info via overlay. Probably custom columns in explorer would be best (e.g. SVN Status, but I think MS disabled the ability to use those columns in Windows 7? WHY??).

> > If you're lucky, it might get changed in a Win7 Service Pack. Tortoise
> > users are a fraction of 1% of Windows users, so it'll be low on MS's
> > priority list even if the proper channels can be located.
>
> I doubt that this will ever change. The limit of (theoretical) 15
> overlays comes from the overlays the list view control offers:
> http://msdn.microsoft.com/en-us/library/bb774760%28VS.85%29.aspx
> The state parameter only has 4 bits for the overlay images, which
> corresponds to 15 different overlays (or none). Since all other bits are
> already in use, increasing the overlays isn't possible without breaking
> compatibility.
>
> If MS ever would offer more overlay slots, it would have to do so with a
> different approach.
> But then there's the problem which overlay icon to show if more than one
> handler wants to show an overlay for the same item...
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-28 07:53:04 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.