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

Re: Overlay drawn on wrong file after change/folder - Nightly 5225

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-12-27 14:20:36 CET

Molle Bestefich wrote:

> Thanks for the explanation!
> In light of the above explanation, the race condition you explained
> doesn't hold water:
>> * the overlays are drawn in the 'old' order, even if the reload changed
>> the file order shown.
> Arne said that he did not add or remove files, so there is no way that
> files could be ordered differently in the folder.

You're forgetting that whatever view you choose in explorer, the items
*always* are sorted in some kind. And when the explorer refreshes a
view, it reads the contents of the folder from disk, which is 'sorted'
in the order the items were created (FindFirstFile/FindNextFile).
So it *does* change the order the items are shown - only you don't
notice it (it does that internally until those items could be sorted).


   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 Tue Dec 27 14:21:10 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.