[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 22:07:56 CEST

T E Schmitz wrote:
> Hello Stefan,
> Thank you for your quick reply - I am tearing my hair out.

Please stop before you're bald ;)

>> There's a little bug in 1.2.1 which would change the color depth when
>
> 'little' being the operative word ;-)

Well, it's not really a bug in TSVN, but it triggers another bug in both
Win2k and your display driver. So it's really a matter of how you look
at it ;)

>> 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.
>
> Makes no difference. I am still looking at mega-ugly 16bit icons.

Here's what TSVN 1.2.1 does:
Change the registry value
HKCU\Control Panel\Desktop\WindowMetrics\Shell Icon BPP
to 4. Then a window broadcast message is sent to all windows that the
window metrics have changed (WM_SETTINGCHANGE with
SPI_SETNONCLIENTMETRICS). Then the registry value is set back again to
the value it was before, and the message is sent again.

So, try this:
Check that registry value. If it's not 32 (true-color), then change it
to that value and use TweakUI to rebuild the icon cache. If it is 32,
change the screen color depth, manually change the registry value to
e.g. 16, TweakUI, and then change the screen color depth back again,
change the registry value again back to 32 and use TweakUI once again.

>> 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.
>
> Wipe the disk, re-install maybe?

I hope it isn't necessary to take such drastic measures.

> I don't have TortoiseCVS installed. There were enough overlay slots when
> I was running the old TSVN version; is it possible that the new and the
> old TSVN overlay handlers are running now?
> Can the number of slots be increased (in the registry or maybe)?

They're the same. But you can check what overlay handlers are installed
in the registry key:
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers

Stefan

-- 
        ___
   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 22:08:27 2005

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

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