ZTree.com  | ZEN  | About...  

 Index   Back

[Bugs] Alt-Sort Unsorted   [Zeta]

By: John Gruener     Orlando, Florida  
Date: Jun 02,2022 at 21:48
In Response to: [Bugs] v2.4.203 Fix-Testing Report (Kim Henkel)

> > [Bugs] Alt-Sort Unsorted
> > https://ztw3.com/forum/forum_entry.php?id=123712
> > Bug 2: In all Unsorted cases, ZTree should display files and
> > directories in the file system unsorted order.
> >
> > Test results:
> >
> > 1. In FMode, Unsorted files are now displaying in Creation Date,
> > Ascending, Path (on) sequence, rather than as they were correctly
> > displayed in v202 in Name, Ascending, Path (on) sequence for NTFS, and
> > FAT-table entry, Path (on) sequence for FAT32 (the default unsorted
> > sequence for both).
> >
> > 2. In FMode Unsorted BSG windows, changing any of the following
> > settings: Path, Order, Charset, F8, F9, or eXit, in any direction,
> > displays the files in Path (off) sequence. Upon exit to the DW and back
> > to the FW, the files are re-displayed in Path (on) sequence.
> >
> > 3. In DMode, Unsorted directories are being displayed sorted into
> > Creation Date, Ascending, Path (off) sequence. In NTFS the default is
> > Name, Ascending, Path (on), and in FAT32 it's FAT-table entry, Path (on)
> > sequence (the same as for files).

> These are seemingly simple problems to fix, but there is a fundamental
> issue with supporting DMode consistently, because there is no current
> tracking of the order directories are read from disk (while there is for
> files).

Since the command line 'DIR /b /s /ad' will always display the directories in the default file system path order, I thought it would be easy enough for ZTree to replicate that. But I do understand if that capability is programmatically not possible.

> So while 'unsorted' should literally mean don't sort, I have no
> option but to do so with directories, and by creation-date seemed the
> most logical, as it would in theory be the order in which they were
> written to (a FAT) drive, which seems more 'unsorted' than to sort by
> name.


> I guess I can check the partition type and do creation-date for FAT and
> Name for NTFS...

I don't think it's important enough to try to duplicate the FAT sequence if in fact it can't be done accurately. Might be best to go back to Name Ascending Path (on) sequence for both, and change the Help file section 2.4 Alt-Sort Unsorted description to read: "Name sequence within paths, regardless of any sort options (below)."

Note however that items 1 and 2 above are bugs in the FMode file sequence. As mentioned, this worked correctly in v2.4.202 for both NTFS and FAT, so these were new bugs in v203. The Help file section 2.7 Alt-Sort Unsorted description should remain unchanged.

- John


Messages in this Thread

96,640 Postings in 12,231 Threads, 350 registered users, 61 users online (0 registered, 61 guests)
Index | Admin contact |   Forum Time: Apr 12, 2024 - 1:57 pm UTC  |  Hits:62,817,498  (13,029 Today )
RSS Feed