signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.56k stars 6.13k forks source link

Letters in contact circle might not be initials #8293

Closed bepaald closed 5 years ago

bepaald commented 5 years ago

Bug description

Since an update this morning, contacts with no avatar (99% of mine) have gotten an extra letter in their circle. In The Netherlands, it is extremely common for surnames to have a tussenvoegsel*, which is generally not capitalized and not really considered part of the surname (for example when indexing). A well known example would be Vincent van Gogh, who would be indexed under 'G', and his initials would be 'VvG', or, if there are size constraints, 'VG'. Right now, with a large list of Dutch contacts, many appear as 'Lv', 'Pv', 'Wv', and 'Pd'. Using this (lowercase) first letter tussenvoegsel as an identifier looks, at best, extremely weird, and possibly just plain wrong. Obviously, this is only a bug if the intended behavior is to show a persons initials in that circle, if it is just to have more defining characteristics in that circle from any random letters from the name, then this report could probably simply be closed.

*Optional reading: English wiki: tussenvoegsel

Possible solutions:

Thanks for all your time and hard work!

Steps to reproduce

Actual result: Shows up as 'Lv'

Expected result: All of 'LvB', 'LB', or just 'L', would be better than 'Lv'

Device info

Device: Sony Xperia Z5C Android version: 7.0 Signal version: 4.29.4

PiCob commented 5 years ago

Additionally it's worth to point out that if you have a contact without avatar named "Alice (Home)", you'll end up with initials like "A(" in the circle (which doesn't make sense).

greyson-signal commented 5 years ago

@bepaald After weighing the pros/cons of 1 vs 2 initials, we decided to stick with two. However, I appreciate you taking the time to explain this situation!

@PiCob Thanks for catching this! It was addressed in f164ac90dbd2d9f50b94f056bf7c8fe1f95e94b9.