signalapp / Signal-Android

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

Message search doesn’t find all matches #13672

Open navid-zamani opened 2 weeks ago

navid-zamani commented 2 weeks ago

Bug description

When searching for something, in this case a single emoji, the search does not find all instances of it.

Steps to reproduce

Actual result: Assuming those were the only two messages with that emoji, the search will claim there is only one single result. Expected result: There are clearly two results. :)

Additional note

The search input field also does not show the emoji button. I had to use the keyboard’s built-in one, which made it more difficult, since the OS’s emojis are inferior in design and older (with some missing). Perhaps just using the same classes that are used for the normal message input would be an idea. This would reduce duplicate code, and also allow for searching for stickers and “gifs” or even pictures (from the media overview). (But that’s a topic for another issue. :)

Device info

Device: Blackview BV8800 Android version: 11 (2022-08-01, DokeOS 3.0) Signal version: 7.14.1

Link to debug log / Screenshot

(In case one is actually necessary, please ask. :))

navid-zamani commented 2 weeks ago

BTW, I forgot to mention where this was useful:
I did send messages consisting of pictures with only emojis as comments. So to find those pictures, I only had the (very distinctive) emojis to go by.