EldoS | Feel safer!

Software components for data protection, secure storage and transfer

VDisk sample - incorrect sorting

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#13390
Posted: 05/20/2010 06:45:18
by testcbfs (Basic support level)
Joined: 05/06/2010
Posts: 6

In VDisk sample, items are sorted "By Name", alphabetically, no matter if it's a folder or a file. How to fix that?
See attached screenshot.


#13391
Posted: 05/20/2010 08:14:15
by Eugene Mayevski (EldoS Corp.)

Sorting is applications' business, not the one of CBFS (or even the code that handles callbacks).

What version of Callback File System are you evaluating?


Sincerely yours
Eugene Mayevski
#13393
Posted: 05/20/2010 10:01:18
by testcbfs (Basic support level)
Joined: 05/06/2010
Posts: 6

Quote
Sorting is applications' business, not the one of CBFS (or even the code that handles callbacks).

Even if file list is sorted, this behavior persists.

Quote
What version of Callback File System are you evaluating?

3.0.77.174
#13394
Posted: 05/20/2010 10:29:18
by Eugene Mayevski (EldoS Corp.)

Did you try any other file manager such as TotalCommander or FAR? Do they expose the same behavior?
#13395
Posted: 05/20/2010 10:41:00
by testcbfs (Basic support level)
Joined: 05/06/2010
Posts: 6

Quote
Did you try any other file manager such as TotalCommander or FAR? Do they expose the same behavior?

I tried with both TotalCommander and FAR, they do not expose the same behavior, i.e. they are sorting files correctly.
#13397
Posted: 05/20/2010 11:29:15
by  Victor Voytko
The problem is Windows explorer does not re-sort existing items on a new one creation. This is just its own feature related to all folders, not only to created by CbFS ones.
Incorrect sorting will be fixed by refreshing folder.
#13399
Posted: 05/21/2010 00:11:08
by testcbfs (Basic support level)
Joined: 05/06/2010
Posts: 6

Quote
The problem is Windows explorer does not re-sort existing items on a new one creation. This is just its own feature related to all folders, not only to created by CbFS ones.
Incorrect sorting will be fixed by refreshing folder.

This is not true, even with refreshing, the sorting is incorrect.
#13400
Posted: 05/21/2010 00:29:52
by testcbfs (Basic support level)
Joined: 05/06/2010
Posts: 6

OK, I figured out why Windows Explorer is not sorting files/folders correctly - this behavior occur when LastWriteTime attribute is not set.
#13401
Posted: 05/21/2010 02:49:41
by Eugene Mayevski (EldoS Corp.)

Thank you for investigation. We will review the samples.


Sincerely yours
Eugene Mayevski
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 1945 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!