signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.7k stars 2.69k forks source link

Search issue: Names including acute accents won't be found when searching them without acute accents #5323

Open Lukas-J opened 3 years ago

Lukas-J commented 3 years ago

Bug Description

When searching a name including acute accents, e.g. "László", in the search bar in the left upper hand by omitting acute accents, e.g. "Laszlo", the contact won't be found. It would be very handy to be able to search the contacts by omitting acute accents. It is just an issue on Signal Desktop. I don't experience it on Signal Android.

Steps to Reproduce

  1. Create a contact whose name includes acute accents, e.g. "László"
  2. Search it in the search bar in the left upper hand just by omitting acute accents, e.g. "Laszlo"

Actual Result: The result list does not include the contact with the acute accents

Expected Result: The result list does include the contact with the acute accents

Platform Info

Signal Version: 5.4.0

Operating System: Windows 10 Pro 20H2 19042.985

Linked Device Version: 5.12.3

Debug Log

I've just copied the part which was logged during the search:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Signal/5.4.0 Chrome/89.0.4389.128 Electron/12.0.7 Safari/537.36 node/14.16.0 env/production
INFO  2021-06-07T21:09:20.965Z Stop idle detector
INFO  2021-06-07T21:09:59.025Z Removing notification
INFO  2021-06-07T21:10:00.026Z Not updating notifications; notification status is noNotifications. 
INFO  2021-06-07T21:10:04.026Z Removing notification
INFO  2021-06-07T21:10:05.026Z Not updating notifications; notification status is noNotifications. 
INFO  2021-06-07T21:10:06.775Z Sending a keepalive message
INFO  2021-06-07T21:10:10.119Z Loaded this list of log files from logPath: app.log, app.log.1, main.log, main.log.1
EvanHahn-Signal commented 3 years ago

Thanks. I've filed this as a bug.