Thus spake Thomas Russ:
>
> On Oct 12, 2006, at 3:44 AM, Joel Uckelman wrote:
>
> > I'm presently tring to resolve Bug #1197411, quoted in part here:
> >
> >> Files do not appear in Alpha order on various file
> >> listings (eg "Open" "Start Log" "Save Game" etc).
> >> Interestingly, directories do appear sorted properly.
> >
> > The bug's reporter says this is happening on Linux. Can anyone
> > replicate
> > this? I use Linux, and I don't see it---but I may not be using the
> > same
> > Linux distribution or version of VASSAL as the bug reporter.
>
> I would think that this would be an underlying JVM issue, since AFAIK
> Vassal doesn't use its own file sorting algorithm in the Choose File
> dialogs.
>
> Now, one thing that may be happening is that Linux (and generally
> all Unix implementations, except perhaps Darwin?) has a case-sensitive
> file system, so that under normal unix operation files will sort with
> Uppercase letters in front of lower case letters. For example:
>
> A-file
> B-file
> E-file
> F-file
> Z-file
> c-file
> d-file
> h-file
>
> If that is the basis of the user report, then there really isn't
> too much that can be done about it, since it is a Linux issue
> rather than a Vassal one. I would therefore leave it rather than
> try to work around it in some fashion. Especially since there
> is a note in the bug report that this only happens with Java 1.4
> and not 1.5.
>
> -Tom.
No, that's actually not the basis of the reported bug. The file dialog
we were using from Java 1.4 appears, rather inexplicably, to order files
by mtime (last modified time), but directories alphabetically. Anyway,
we're already changing to the Swing file chooser in 2.9 in order to have
a more uniform UI, and the Swing file chooser doesn't have this problem.
Hurrah, the map from stones to birds is not a function! :)
--
J.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/vassalengine/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/