View Issue Details

IDProjectCategoryView StatusLast Update
0001983Double CommanderFile operationspublic2018-04-18 20:33
Reporterkovacspeter84 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
ProjectionnoneETAnone 
Product Version0.8.0 
Summary0001983: Sorting order is different on Windows and Linux (Ubuntu)
DescriptionI have noticed that the default sorting behavior (with version 0.8.0) is different on Windows and Ubuntu Linux.

Windows: .d _b 10 100 88 a c e
Linux: 10 100 88 a _b c .d e

I would strongly prefer the former order (achieved on Windows) and of course, it should be consistent on different platforms or OS.

This issue may be related to bugs 1239 and/or 1418.
TagsNo tags attached.
Fixed in Revision
Operating systemWindows, Linux
Widgetset
Architecture

Relationships

related to 0001418 closedcordylus Natural sorting order is unconventional 
related to 0001239 feedback Sort panel: bad if "_" char 

Activities

cordylus

2018-01-02 22:03

developer   ~0002490

Last edited: 2018-01-02 22:08

What version did you test it really with? The patch in 0001418 is only going to be included in 0.8.2, it is not included in 0.8.1 or 0.8.0, so you shouldn't be receiving the results you show for Windows. Maybe you took the version from Snapshots on Windows and 0.8.0 on Linux? That would explain numbers position.

DoubleTim

2018-04-11 20:32

reporter   ~0002564

Windows sorting with 0.8.2, Files views Sort method alphabetical or natural: .d _b 10 100 88 a c e
Linux with 0.8.2, Files views Sort method alphabetical: 10 100 88 a _b c .d e
Linux with 0.8.2, Files views Sort method natural: _b .d 10 88 100 a c e

I don't get why Windows sorting is the same. And why Lin and Win are different.

cordylus

2018-04-18 20:33

developer   ~0002570

DoubleTim, sorting order on Linux depends on the locale. Why natural and alphabetical differ in this case I tried to explain here: https://doublecmd.sourceforge.io/forum/viewtopic.php?p=23466#p23466

Issue History

Date Modified Username Field Change
2018-01-02 13:05 kovacspeter84 New Issue
2018-01-02 22:03 cordylus Note Added: 0002490
2018-01-02 22:03 cordylus Note Edited: 0002490
2018-01-02 22:08 cordylus Note Edited: 0002490
2018-02-04 15:13 Alexx2000 Relationship added related to 0001418
2018-02-04 15:14 Alexx2000 Status new => feedback
2018-03-30 19:06 cordylus Relationship added related to 0001239
2018-04-11 20:32 DoubleTim Note Added: 0002564
2018-04-18 20:33 cordylus Note Added: 0002570