Sort files "latin first"
AbandonedPublic

Authored by ypashkovsky on Oct 30 2017, 8:54 PM.

Details

Reviewers
None
Group Reviewers
Dolphin
KDE Applications
Summary

BUG: 386323
files in all FM's with latin names go before cyrillic ones, I guess the same applies to all nonlatin names too.
before this patch the order is something like this: [папка1, fld1, fld2], after: [fld1, fld2, папка1]

Diff Detail

Repository
R318 Dolphin
Lint
Lint Skipped
Unit
Unit Tests Skipped
ypashkovsky created this revision.Oct 30 2017, 8:54 PM
Restricted Application added a subscriber: Dolphin. · View Herald TranscriptOct 30 2017, 8:54 PM

The same patch should be applied to kde file chooser, but i don't know where it's source code is located :)

Please change the title to a short description, and add a slightly longer description to the Summary section (if necessary).

Also, you need to add some reviewers. A good start would be "Dolphin" and "KDE Applications"

ypashkovsky retitled this revision from #386323 fix to Sort files "latin first" .Oct 30 2017, 10:25 PM
ypashkovsky edited the summary of this revision. (Show Details)
aacid added a subscriber: aacid.Oct 30 2017, 10:49 PM

Sorry but this makes no sense, why would i want to use the English locale to sort instead of my catalan locale?

I don't see how this will affect catalan locale since they both use the same set and order of symbols. So catalan speakers won't note the difference.

On the other hand I don't know (I will test) how will this change result for alphabets with diacritic symbols (e.g. czech Č č, Ď ď and so on).

As an another approach editing QCollate is reasonable too.

I strongly suspect that this is not going to work as you want and it could have unexpected results.

@ngraham the tag "KDE Applications" is not necessary for a project like Dolphin, which has his own tag and it is actively guarded.

apol added a subscriber: apol.Oct 31 2017, 1:12 AM

I don't see how this will affect catalan locale since they both use the same set and order of symbols. So catalan speakers won't note the difference.

On the other hand I don't know (I will test) how will this change result for alphabets with diacritic symbols (e.g. czech Č č, Ď ď and so on).

As an another approach editing QCollate is reasonable too.

You are forcing the en_US locale into all sorting. This defeats the purpose of using the locale to sort. I'd suggest you investigate how it works for your own locale and see into making it sort strings as it makes sense for the speakers of your language.

Languages with the same alphabets do NOT sort the same way. Forcing the wrong locale will sort incorrectly. There are all kinds of quirks between languages. For instance ä is close to last in the alphabet in Swedish, but sorted together with a in German.

ypashkovsky abandoned this revision.Nov 3 2017, 6:40 PM

I agree with commenters above, currently it's out of kde responsibility