Tortoise SVN Overlay Icons Don't Display in TC

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50754
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, it runs with higher privileges. I don't see a reason why overlay icons shouldn't work when you have higher privileges than when you don't. Btw, do you get the same problem in the "File open" dialog of a program like notepad or paint when you start it as admin?
Author of Total Commander
https://www.ghisler.com
jalperin
Junior Member
Junior Member
Posts: 21
Joined: 2007-11-22, 13:59 UTC

Post by *jalperin »

Yes! I see the same (bad) behavior using Notepad. The Tortoise SVN overlays are NOT visible in the Open dialog when running Notepad with elevated privileges, but they are visible when running with normal privileges. (Tortoise CVS overlays are visible in both instances.) So I guess that means that it's a Tortoise SVN issue?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50754
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Apparently yes. Have you tried to open the TortoiseSVN settings from the context menu of an elevated program?
Author of Total Commander
https://www.ghisler.com
jalperin
Junior Member
Junior Member
Posts: 21
Joined: 2007-11-22, 13:59 UTC

Post by *jalperin »

Not sure exactly what you mean. I just tried the following:
*Ran Notepad with elevated privileges
* File -> Open
*Navigated to a directory under Tortoise SVN control
*Right clicked to access the Tortoise SVN settings
*Changed icon sets (just to do something)

I didn't observe any changed behavior in the display of overlays.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50754
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, that's what I meant. You should check whether the option "Show overlays and context menu only in explorer" is checked there or not.

I tried this on XP when using as a normal user and starting TC as user "administrator" - the option isn't checked, but I don't see any overlay icons, although the context menu items are all there. It really seems to be a TortoiseSVN bug. Maybe they will listen to your bug report if you don't mention Total Commander, but say that it doesn't work in any "file open" dialog...
Author of Total Commander
https://www.ghisler.com
jalperin
Junior Member
Junior Member
Posts: 21
Joined: 2007-11-22, 13:59 UTC

Solution?

Post by *jalperin »

This is what I heard back from the Tortoise SVN mailing list:

You can change the overlays settings from "default" to "shell".
The overlay cache is only started once per session - if you use "runas",
the processes can't access the already running cache because it runs
with other privileges.

-------------

That solution seems to work, at least partially (parent folders don't seem to have the overlay icons), but I'm still testing.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50754
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

But why does it work for Tortoise CVS then?
Author of Total Commander
https://www.ghisler.com
jalperin
Junior Member
Junior Member
Posts: 21
Joined: 2007-11-22, 13:59 UTC

Post by *jalperin »

My question, exactly. I think Tortoise SVN is a later, and independent project, so I guess they're using some "improved" technique. ;-)
User avatar
HolgerK
Power Member
Power Member
Posts: 5411
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: Solution?

Post by *HolgerK »

2jalperin
Tortoise SVN mailing list wrote:The overlay cache is only started once per session - if you use "runas",
the processes can't access the already running cache because it runs with other privileges.
I'am just wondering, if it would work in combination with an elevated TC, if you change the properties of TSVNCache.exe to run as administrator, or to push a button like

Code: Select all

TOTALCMD#BAR#DATA
%comspec% /c
taskkill /IM TSVNCache.exe
%COMMANDER_PATH%\WCMICONS.DLL
Restart TSVNCache


-1
from an elevated TC?

Kind regards,
Holger
GeminiServer
Junior Member
Junior Member
Posts: 26
Joined: 2005-06-03, 11:04 UTC

Post by *GeminiServer »

Same Problem with TortoiseCVS.

Starting TotalCommander with admin privileg no overlay icon (white paper overlay will be shown).

Starting TotalCommander with NO admin privilegs, overlay icon are OK!

I updated yesterday to the latest version of TortoiseCVS (TortoiseCVS-1.12.1.exe)

Also deleting the overlay icon cache of Win7 x64 doesn't help.

Hope you will found a solution.

Regards,
GeminiServer
No mather what do it.
▬▬▬▬▬▬▬▬▬▬▬▬
#64305 / #182199
▬▬▬▬▬▬▬▬▬▬▬▬
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50754
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Do you get the same problem in the File->Open dialog of other programs run with admin privileges, e.g. in notepad.exe?
Author of Total Commander
https://www.ghisler.com
GeminiServer
Junior Member
Junior Member
Posts: 26
Joined: 2005-06-03, 11:04 UTC

Post by *GeminiServer »

ghisler(Author) wrote:Do you get the same problem in the File->Open dialog of other programs run with admin privileges, e.g. in notepad.exe?
Tested with notepad.exe

Start notepad.exe with Admin privilegs -> Overlay icons OK
Start notepad.exe without Admin privilegs -> Overlay icons OK

It works with notepad.exe!

TotalCommander seems to try to show the overlay icon but see your self:
Image: http://img257.imageshack.us/img257/1341/snap0340.png
No mather what do it.
▬▬▬▬▬▬▬▬▬▬▬▬
#64305 / #182199
▬▬▬▬▬▬▬▬▬▬▬▬
GeminiServer
Junior Member
Junior Member
Posts: 26
Joined: 2005-06-03, 11:04 UTC

Post by *GeminiServer »

Any Updates on this Topic?
Do you need any help or further information to locate the problem ?
No mather what do it.
▬▬▬▬▬▬▬▬▬▬▬▬
#64305 / #182199
▬▬▬▬▬▬▬▬▬▬▬▬
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50754
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Seems like TC is getting the wrong icon index from Tortoise. Do you get this with other overlays too, e.g. for *.lnk files?
Author of Total Commander
https://www.ghisler.com
GeminiServer
Junior Member
Junior Member
Posts: 26
Joined: 2005-06-03, 11:04 UTC

Post by *GeminiServer »

Hi,
lnk files are ok. (Tested with Desktop lnk files).

But what could be the Difference between User and Admin ?
The icon indexes should be the same for Admin an User.

I think that not the index is the problem, may the overlay icon files can't be located in TC in Admin mode. And from where the white paper icon is coming from? Could it be the a corruption in the icon image-list?

cheers,
GeminiServer
No mather what do it.
▬▬▬▬▬▬▬▬▬▬▬▬
#64305 / #182199
▬▬▬▬▬▬▬▬▬▬▬▬
Post Reply