home | list info | list archive | date index | thread index

file managers sorting files by name in wrong order

  • Subject: file managers sorting files by name in wrong order
  • From: Nash JC - NCF <nashjc [ at ] ncf [ dot ] ca>
  • Date: Sun, 29 Jun 2025 14:41:36 -0400

My wife was working on family history photos and complained her files went missing.
She was happy working in Double Commander (CD), which had the files showing, but when she
tried Caja or Thunar to get icons so she could see thumbnails, they "disappeared".
Actually they were at the bottom of the list.

Notes: 1) Caja won't open my JNJpgCom.py program properly. DC and Thunar do.
       2) DC, we just discovered, has a View/Thumbnails. Good!

I ran a bunch of file managers. Here's the results,

File manager presentation of files by name sorting

yyyymmdd files seem to be at end in many file managers

mc -- CLI -- correct order
Double Commander -- correct
Caja -- wrong order
Thunar -- wrong order
Nautilus -- wrong order
dolphin -- wrong order
konqueror -- wrong order
krusader -- correct
nemo -- wrong order
pcmanfm -- wrong order, did not close properly
nnn -- CLI -- wrong order

Looks like some common code to sort files by name is misbehaving. I'll follow this with the bug report
text which shows the types of filenames giving trouble.

Cheers,

John Nash

Steps to reproduce

Family photos have several hundred jpeg files of which the following are present in directory Fons
19460904PeterFrohnwedding01.jpg
19460904PeterFrohnwedding02.jpg
19460904PeterFrohnwedding03.jpg
19460904PeterFrohnwedding04.jpg
19460926AlphonseFrohnmarriesReneev.Seters01.jpg
19460926AlphonseFrohnmarriesReneev.Seters02.jpg
19460926AlphonseFrohnmarriesReneev.Seters03.jpg
19460926AlphonseFrohnmarriesReneev.Seters.jpg

Open Thunar. NONE of these show up in either icon or list view except AFTER files starting 2021*
(depends on what other files are present I believe)

Searching for 194609* shows all of them.

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org

message navigation