Bug 467656

Summary: Elisa does not honour localised sorting
Product: [Applications] Elisa Reporter: Emir SARI <emir_sari>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: CONFIRMED ---    
Severity: normal CC: nate, xnagytibor
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Emir SARI 2023-03-21 17:12:08 UTC
Elisa lists artists, songs in the standard alphabetic sorting, but appends the non English letters to the very end. In my case, I get A-Z + Ö, Ü, İ etc.

Elisa should get the alphabetic sorting according to the used locale, and include them in the corresponding A-Z sort.
Comment 1 Nagy Tibor 2023-03-21 21:57:12 UTC
This happens because Elisa uses built-in NOCASE sqlite collation method. It's incompatible with internatonal text.

Could be solved by defining a new custom sqlite collator (https://www.sqlite.org/c3ref/create_collation.html) and shoving the locale-aware Qt collator into that.