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

Re: [TSVN] changed Icon set - Win2K changed to 16bit

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-01 20:55:14 CEST

T E Schmitz wrote:

> I am running TortoiseSVN- on Win2K.
> I noticed recently that when svn-adding a file the wrong overlay icon is
> being applied: rather than the "added" overlay, the "modified" overlay
> is used. This used to work correctly. I can only presume now that the
> behaviour changed when I upgraded to version 1.2.1.

Please update to version 1.2.2.

> In an attempt to fix this problem, I tried to change the icon set. (I
> cannot be too sure but I might have changed to Subclipse.) As soon as I
> applied the changes, the screen flickered, the overlay icons changed but
> also ALL icons (not just Tortoise overlaid ones) changed to 16bit!
> Rebooting, changing back to the XP icon set and trying other icon sets
> all did not help.

There's a little bug in 1.2.1 which would change the color depth when
changing the overlays. This was done to force the icon cache to rebuild
(it's even documented that you can do it that way). The problem is that
with some display drivers, this doesn't work because they just don't
like it if you change the color depth back and forth again within a
second. So I removed that code in 1.2.2 (but that means if you change
the overlays, you must restart the explorer for the changes to take effect).

> I de-installed Tortoise and re-installed. No difference.
> I checked the Windows display settings, which are still at True Colour.
> It would appear though that I am in 16bit (High Colour) mode now.
> Changing the colour depth back and forth does not make a difference either.

Try changing the color depth to 8 bit and then back to true color. Just
wait a few seconds in between so the display driver doesn't get mad at you.

> A very similar problem was described here: http://tinyurl.com/ckg46.
> I followed the suggestions: installed TweakUI and rebuilt the icon cache
> - to no avail. I also tried the suggestions on the FAQ article: deleted
> the Windows icon cache, increased the Windows icon cache. Nothing fixes
> the problem.
> Does anyone have a clue what happened or, more importantly, how I can
> fix this?

I hope that changing the colors to 8 bits (maybe changing the screen
resolution too?) and back will fix it, otherwise I don't know what else
to do.

About the wrong overlay: The shell extension now first checks how many
other overlay handlers are installed in the system. If there aren't
enough overlay handler slots left, TSVN will only register a few to
leave the other slots to the other applications. That means that the
'added' overlay will have to go and the 'modified' is shown instead.
Do you also have TortoiseCVS installed? If yes, then you definitely
don't have enough overlay slots left and TSVN behaves nices (TCVS
doesn't - it just uses all slots and most of the time doesn't leave
enough for TSVN anyway).


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Sep 1 20:56:50 2005

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