Contacts icon indicating copy to clipboard operation
Contacts copied to clipboard

Sorting of assimilations

Open robinschwab opened this issue 1 year ago • 5 comments

Checklist

  • [X] I can reproduce the bug with the latest version given here.
  • [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one bug.
  • [X] I have read and understood the contribution guidelines.

Affected app version

1.1.0

Affected Android/Custom ROM version

Android 15 / GrapheneOS

Affected device model

Pixel 6

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Create contacts with names that contain assimilations (i.e. ÄÖÜ in German), display them in the contacts list.

I.e.: Hans Äberhart, Hans Aeberhart, Hans Adler

On (american) keyboards that do not contain these special characters you type Ae instead of Ä.

Expected behavior

  • Äberhard, Hans
  • Aeberhard, Hans
  • Adler, Hans

Actual behavior

  • Äberhard, Hans
  • Adler, Hans
  • Aeberhard, Hans

Screenshots/Screen recordings

Sorting

Additional information

The above list is trivial so you might think it is not a real problem. But imagine a long list with many names beginning with from Ab..., to Ap: The two identical names will show up several screens apart in the list.

robinschwab avatar Jan 14 '25 10:01 robinschwab

It should be done more thoroughly. Generally, we should consider the fact, that in different locales there are different sorting rules. I suppose we're using international collation, while we should use a proper one for Android's current locale (not UI language).

Aga-C avatar Jan 14 '25 11:01 Aga-C

I can confirm that affected users will consider the present state a bug.

robinschwab avatar Jan 14 '25 12:01 robinschwab

@robinschwab I understand your request, but is your example of "actual behavior" correct? I don't think Aeppli would ever get sorted before Adler using general collation rules...

chesio avatar Jan 14 '25 13:01 chesio

@robinschwab I understand your request, but is your example of "actual behavior" correct? I don't think Aeppli would ever get sorted before Adler using general collation rules...

You are correct. If you use Äberhard/Aeberhard instead the example works. I edited my issue.

robinschwab avatar Jan 14 '25 14:01 robinschwab

Here is a French example. Sorting French

robinschwab avatar Jan 14 '25 14:01 robinschwab