Overlay icons (Shell) sometimes don't refresh

1,109 views
Skip to first unread message

David Balažic

unread,
Sep 17, 2010, 7:24:08 AM9/17/10
to us...@tortoisesvn.tigris.org
Hi!

I have TortoiseSVN 1.6.10, Build 19898 - 32 Bit , 2010/07/16 15:46:08
on Windows XP Pro SP3.

I have a WC from a local repo (file:///F:/something/foo/...).

I have set Icon Overlays Status cache to "Shell".

In the WC I created a new folder and two text files in it.
Then I added the folder (and content) to SVN, but the icons were not showing the
new status.
I also commited them but the icons are still as for normal files (non-SVN).

I tried F5 several times, also closing all Explorer windows.

Other folder in the same parent folder have the correct SVN overlays.
They are not in exclude path. (actually all my drives are in exclude
and the WC parent folder is in include path).

Any idea why it is not working?

If I change an older text file in same WC, it's icon changes even without F5.

David Balažic

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

David Balažic

unread,
Sep 17, 2010, 7:30:45 AM9/17/10
to us...@tortoisesvn.tigris.org
David Balažic wrote:
>
> If I change an older text file in same WC, it's icon changes
> even without F5.

A few second after sending that email I noticed that the icons of
the two new text files changed to the correct form.
Also the folder icon, but only in the right part of Explorer, in
the folder tree, it was still without overlay. Even after pressing
F5 again. In a newlz opened Explorer window, even the folder tree is OK.

So the question is, why did it not update at the first attempt?

Regards,
David

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

Loritsch, Berin

unread,
Sep 17, 2010, 8:03:51 AM9/17/10
to us...@tortoisesvn.tigris.org
This I know is a long standing problem The only thing I've seen of any consistency is that the overlays work better with more recent versions of Windows and Explorer. Instead of relying on F5 to perform the update, try using the View->Refresh option from the Explorer window.

Windows has always been a bit flaky with keyboard events. When you use F5 it only works on the control that has the focus. So essentially, if you've selected a file on the right hand side and hit F5 you are only refreshing the right hand side. If you have a folder selected on the left hand side and press F5 you are only refreshing that side. If something else has focus like the main window itself, or the address bar, F5 has no effect. That's all behavior outside the control of Tortoise. Using the View-Refresh at least forces the refresh on both sides of the pane. Newer versions of Explorer (like with Windows 7) will invoke the refresh at regular intervals for you.

I believe that there is also a delay as the process that manages the display of icons has to check the metadata for its current state. But that doesn't get kicked off until it intercepts the refresh event...

Regards,
David

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


Confidentiality Note: The information contained in this message, and any attachments, may contain proprietary and/or privileged material. It is intended solely for the person or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

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

Felix Saphir

unread,
Sep 17, 2010, 8:08:36 AM9/17/10
to us...@tortoisesvn.tigris.org
Am 17.09.2010 13:30, schrieb David Balažic:
> David Balažic wrote:
>>
>> If I change an older text file in same WC, it's icon changes
>> even without F5.
>
> A few second after sending that email I noticed that the icons of
> the two new text files changed to the correct form.
> Also the folder icon, but only in the right part of Explorer, in
> the folder tree, it was still without overlay. Even after pressing
> F5 again. In a newlz opened Explorer window, even the folder tree is OK.
>
> So the question is, why did it not update at the first attempt?

AFAIK, the overlay icons are only refreshed when TSVNCache visits a
directory. I guess it just took a while before that happened in your case.

To watch TSVNCache working, you can add the registry setting
HKEY_CURRENT_USER\Software\TortoiseSVN\CacheTrayIcon = 1 (DWORD). Then
double click on the tray icon, and watch TSVNCache crawl through
directories.

Felix

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

Felix Saphir

unread,
Sep 17, 2010, 8:11:11 AM9/17/10
to us...@tortoisesvn.tigris.org
Am 17.09.2010 14:03, schrieb Loritsch, Berin:
>
> I believe that there is also a delay as the process that manages the
> display of icons has to check the metadata for its current state.
> But that doesn't get kicked off until it intercepts the refresh
> event...

You can force the TSVNCache process to restart by either killing it from
the Task Manager or by running a cleanup.

Felix

P.S. Please stop top-posting an please trim messages you're replying to.

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

Loritsch, Berin

unread,
Sep 17, 2010, 8:13:02 AM9/17/10
to us...@tortoisesvn.tigris.org
> Felix
>
> P.S. Please stop top-posting an please trim messages you're
> replying to.

My appologies. I'm forced to use this crapola Outlook, and it took a
while to find the right setting.


Confidentiality Note: The information contained in this message, and any attachments, may contain proprietary and/or privileged material. It is intended solely for the person or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

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

Felix Saphir

unread,
Sep 17, 2010, 8:15:21 AM9/17/10
to us...@tortoisesvn.tigris.org
Am 17.09.2010 14:13, schrieb Loritsch, Berin:
>> Felix
>>
>> P.S. Please stop top-posting an please trim messages you're
>> replying to.
>
> My appologies. I'm forced to use this crapola Outlook, and it took
> a while to find the right setting.

Thanks! Looks much nicer, doesn't it?

Felix

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

David Balažic

unread,
Sep 17, 2010, 8:18:27 AM9/17/10
to us...@tortoisesvn.tigris.org
Felix Saphir wrote:

> Am 17.09.2010 14:03, schrieb Loritsch, Berin:
> >
> > I believe that there is also a delay as the process that manages the
> > display of icons has to check the metadata for its current state.
> > But that doesn't get kicked off until it intercepts the refresh
> > event...
>
> You can force the TSVNCache process to restart by either
> killing it from
> the Task Manager or by running a cleanup.

I don't have a TSVNCache process.

David

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

Bob Archer

unread,
Sep 17, 2010, 1:57:07 PM9/17/10
to us...@tortoisesvn.tigris.org
> I have TortoiseSVN 1.6.10, Build 19898 - 32 Bit , 2010/07/16
> 15:46:08
> on Windows XP Pro SP3.
>
> I have a WC from a local repo (file:///F:/something/foo/...).
>
> I have set Icon Overlays Status cache to "Shell".
>
> In the WC I created a new folder and two text files in it.
> Then I added the folder (and content) to SVN, but the icons were
> not showing the
> new status.
> I also commited them but the icons are still as for normal files
> (non-SVN).
>
> I tried F5 several times, also closing all Explorer windows.
>
> Other folder in the same parent folder have the correct SVN
> overlays.
> They are not in exclude path. (actually all my drives are in
> exclude
> and the WC parent folder is in include path).
>
> Any idea why it is not working?
>
> If I change an older text file in same WC, it's icon changes even
> without F5.
>

What folder view are you looking at. If it is in the treeview of XP's explorer... those are pretty much never right. They only update when you close any containing folders, F5 then re-open them. Folders in the list view of the XP explorer should always update when you press F5 when using "shell" overlay mode.

http://tortoisesvn.net/node/146

BOb

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

Bob Archer

unread,
Sep 17, 2010, 2:00:10 PM9/17/10
to us...@tortoisesvn.tigris.org
> Am 17.09.2010 13:30, schrieb David Balažic:
> > David Balažic wrote:
> >>
> >> If I change an older text file in same WC, it's icon changes
> >> even without F5.
> >
> > A few second after sending that email I noticed that the icons of
> > the two new text files changed to the correct form.
> > Also the folder icon, but only in the right part of Explorer, in
> > the folder tree, it was still without overlay. Even after
> pressing
> > F5 again. In a newlz opened Explorer window, even the folder tree
> is OK.
> >
> > So the question is, why did it not update at the first attempt?
>
> AFAIK, the overlay icons are only refreshed when TSVNCache visits a
> directory. I guess it just took a while before that happened in
> your case.
>
> To watch TSVNCache working, you can add the registry setting
> HKEY_CURRENT_USER\Software\TortoiseSVN\CacheTrayIcon = 1 (DWORD).
> Then
> double click on the tray icon, and watch TSVNCache crawl through
> directories.
>

He is using "shell" overlay mode.. so there is no TSVNCache daemon running.

BOb

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

Reply all
Reply to author
Forward
0 new messages