2.53 beta 1: Can't sort Type column

Try the latest development release to test new features and bug fixes even before beta version release. Please use this section to discuss features and problems of this Preview Build version.
Forum rules
Please read forum rules and a few additional rules for this section:
1. Please take into account that Preview Build versions of Salamander and plugins could contain serious bugs. Don't use them in production environments.
2. All problems or comments regarding Preview Build versions please insert into this section of forum.
3. Each new topic mark with PB abbreviation and Preview Build number, for example "PB22: inactive panel below mouse cursor doesn't scroll while mouse wheel tilting".
JohnFredC
Posts: 162
Joined: 10 Dec 2005, 15:44

2.53 beta 1: Can't sort Type column

Post by JohnFredC »

To reproduce:
  • Use "Choose columns" to add the "Type" column to a Defined View (I created a new View for this purpose).

    Return to the file panel and display that Defined View.

    Left-click the "Type" column label to sort the column.

    Salamander does not respond.
Of course a work-around that substitutes most of the time is to sort by EXT instead.
Mouse-centric, Registered
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: 2.53 beta 1: Can't sort Type column

Post by therube »

Seems like a strange omission, or bug.

Oh, & this is not 2.53 specific as it looks to have been like this since at least 2.0.
WinXP Pro SP3 or Win7 x86 | SS 2.54
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: 2.53 beta 1: Can't sort Type column

Post by Petr Solin »

Yes, this is by design. You cannot sort by DOS Name column too.
JohnFredC
Posts: 162
Joined: 10 Dec 2005, 15:44

Re: 2.53 beta 1: Can't sort Type column

Post by JohnFredC »

By design? That means intentional.

Why would you seek to prevent a user from sorting by the value of any column in the file list?
Mouse-centric, Registered
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: 2.53 beta 1: Can't sort Type column

Post by Petr Solin »

We can add such feature in some future version, no problem. But at least for now it is not important thing, we need to do other things. ;-)
JohnFredC
Posts: 162
Joined: 10 Dec 2005, 15:44

Re: 2.53 beta 1: Can't sort Type column

Post by JohnFredC »

Ah, OK. "By design" would definitely be the wrong phrase, then.

As a developer myself, however, it surprises me that the Salamander code doesn't call a generic column sort method that simply uses the contents of the column and is enabled for all columns.

You know: Columns.Sort(Direction) or Columns.Sort(SortMethod, Direction)

Is there something different about the DOS name and Type data that requires special handling?
Mouse-centric, Registered
Post Reply