[Lazarus] "Sort files alphabitically" is case-sensitive :-(

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Nov 14 18:42:47 CET 2011

On Mon, 14 Nov 2011 19:20:47 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> On 14/11/2011, Mattias Gaertner <nc-gaertnma at ...> wrote:
> >
> > Design.
> > It sorts file names, so case sensitive under Linux and case
> > insensitive under Windows and OS X.
> Would you mind if I supply a patch to make case sensitivity optional?
> Nautilus has such an option too. So do other Linux file managers. If
> not, no problems,  I'll add it to my list of home-grown patches I
> apply to each checkout.

I don't mind, if you think broad minded.
Some users might want to sort first for file type
and then alphabetically, or to reverse. Maybe the
Sort button should popup a menu with of a few common orders.
Or it opens a small dialog. Whatever you prefer.

> PS:
> OS X is not always case insensitive, you can format a filesystem with
> case sensitivity enabled too. Just thought I would mention this.

Same for Linux.
But checking via Kernel functions is a magnitude slower and so far
there were no big complains.


More information about the Lazarus mailing list