darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.9k stars 1.15k forks source link

Wrong sorting of film rolls in collections when using accented characters #17735

Open elman22 opened 1 month ago

elman22 commented 1 month ago

Describe the bug

Collections widget has wrong sorting when using accented characters. For example letter č should be correctly placed between c and d. So for example currently I have ordering:

And correct ordering should be:

Add to library folder picker has correct ordering.

Steps to reproduce

Just import folders with accented first letter and view collections.

Expected behavior

Sort folder in order defined by regional setting on computer.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

4.8.1

What OS are you using?

Linux

What is the version of your OS?

EndeavourOS

Describe your system?

Operating System: EndeavourOS KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.11.5-zen1-1-zen (64-bit) Graphics Platform: Wayland

Are you using OpenCL GPU in darktable?

No

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

zisoft commented 1 month ago

I cannot reproduce on macOS:

Bildschirmfoto 2024-10-28 um 19 00 19

Do you have the correct setting (sort film rolls by folder name) in the preferences of the collection module?

Bildschirmfoto 2024-10-28 um 19 01 29

elman22 commented 1 month ago

This is what I see: Screenshot_2024-10-29_09-10-19

And this is file picker: Screenshot_2024-10-29_09-12-04