signalapp / signalapp/Signal-iOS

Search can't handle "@" character

Open
#4,058 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Acknowledged
Dominant language
Swift
Stars
12.2k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

  • I have searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic

Bug description

Searching for "@" or strings containing "@" doesn't work or it doesn't show the matched messages.

Steps to reproduce
  • send or receive messages containing "@"
  • go to the chat list
  • (A) search for "@"
  • (B) search for a string containing "@"

Actual result: (A) it says that no messages are found. (B) matching results don't include "@" character in the preview.

Expected result: the search engine should find any message containing "@".

Screenshots

2018-11-22_17-04-43_000
2018-11-22_17-04-54_000
2018-11-22_17-05-01_000

Device info

Device: iPhone 8 Plus

iOS version: 12.1

Signal version: 2.32.0.14

Link to debug log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the iOS chat list search with "@" alone and inside a message string. Trace the search implementation and its result preview handling, then verify that matching messages are found and the "@" character remains visible in previews.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.