Bug 467656 - Elisa does not honour localised sorting
Summary: Elisa does not honour localised sorting
Status: CONFIRMED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 17:12 UTC by Emir SARI
Modified: 2023-04-04 22:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.