signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.59k stars 2.95k forks source link

Search is limited to first 256 results #5786

Open maa-x opened 2 months ago

maa-x commented 2 months ago

Bug description

When searching a conversation on iOS, only the first 256 results are returned. As these are chronological, it means Signal doesn't search past the 256th result (i.e., the most recent matching messages are not included). This is particularly problematic when searching for links for example (query: http)

Steps to reproduce

Actual result: Search does not return more than 256 results.

Expected result: Search returns more than 256 results (or if we're stuck with a single byte, consider flipping the sort to search from the most recent messages).

Device info

Device: iPhone 12 Pro Max

iOS version: 17.4.1 (EDIT: 17.5 as well)

Signal version: 7.4.0.9 (EDIT: 7.10 as well)

DGrothe-PhD commented 1 month ago

Could not reproduce it "au" - 375 hits, "und" - 356 hits iOS: 17.4.1 Signal version: 7.8 (55)

maa-x commented 1 month ago

That's helpful, and quite odd indeed.

Searching for "to" for example, I get 400+ results.

However, searching for "htt", I only get 256 results, the latest being in 2022 when hundreds of messages were exchanged since with "http" in them. However, this problem isn't limited to links with "http", "re" does the same.

DGrothe-PhD commented 1 month ago

Strange that for 'ie' I get 'No results' even if there are a lot.

maa-x commented 1 month ago

And I get 8..! But if I scroll up past the 8th, there are dozens and dozens highlighted. How peculiar!

DGrothe-PhD commented 1 month ago

abc So this is absolutely proving that it's a bug. I am searching for 'ie' in my longest signal thread. Scrolling some weeks back to find lots of hits yellowed but no hits is what it says 🤔