[GH-ISSUE #2852] Can not search with one character #115502

Closed
opened 2026-06-09 07:55:58 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @necan on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/bitwarden/android/issues/2852

Steps To Reproduce

I can't search with one character. A letter may be meaningless in English, but it represent a word in Chinese.

Expected Result

search with one character getting nothing.

Actual Result

when system language is Chinese, it should start searching.

Screenshots or Videos

No response

Additional Context

No response

Operating System

iOS

Operating System Version

16.7.1

Device

iPhone 8 Plus

Build Version

2023.10.0 (5357)

Beta

  • Using a pre-release version of the application.
Originally created by @necan on GitHub (Nov 3, 2023). Original GitHub issue: https://github.com/bitwarden/android/issues/2852 ### Steps To Reproduce I can't search with one character. A letter may be meaningless in English, but it represent a word in Chinese. ### Expected Result search with one character getting nothing. ### Actual Result when system language is Chinese, it should start searching. ### Screenshots or Videos _No response_ ### Additional Context _No response_ ### Operating System iOS ### Operating System Version 16.7.1 ### Device iPhone 8 Plus ### Build Version 2023.10.0 (5357) ### Beta - [ ] Using a pre-release version of the application.
GiteaMirror added the bug label 2026-06-09 07:55:59 -05:00
Author
Owner

@atjbramley commented on GitHub (Nov 3, 2023):

Hi @necan,

I was able to reproduce this issue, and I have flagged this to our engineering team.

The bug appears to present itself slightly differently from how you have described. For 3 example vault items:


你好
我好吗

A search for 你 will never produce a match.
A search for 你好 will produce a match if the characters are entered together. If 你 and then 好 are entered, even with no whitespace inbetween, no match will be produced.
The same goes for 你好吗. If 你好吗 is entered in one string, then a match is produced. But if 你, 好 & 吗 are entered independently, no match is produced. Also, a search for 你好 will return a match of 你好 only, and not 你好吗.

This is different from roman characters, where:

  • A search for 'a' produces a match
  • A search for 'ad' matches all items containing 'ad' (e.g. Adam, Adobe)
  • A search for 'adam' matches only items containing 'Adam'

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these.

Thanks once again!

<!-- gh-comment-id:1792299957 --> @atjbramley commented on GitHub (Nov 3, 2023): Hi @necan, I was able to reproduce this issue, and I have flagged this to our engineering team. The bug appears to present itself slightly differently from how you have described. For 3 example vault items: 你 你好 我好吗 A search for 你 will never produce a match. A search for 你好 will produce a match if the characters are entered together. If 你 and then 好 are entered, even with no whitespace inbetween, no match will be produced. The same goes for 你好吗. If 你好吗 is entered in one string, then a match is produced. But if 你, 好 & 吗 are entered independently, no match is produced. Also, a search for 你好 will return a match of 你好 only, and not 你好吗. This is different from roman characters, where: - A search for 'a' produces a match - A search for 'ad' matches all items containing 'ad' (e.g. Adam, Adobe) - A search for 'adam' matches only items containing 'Adam' If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these. Thanks once again!
Author
Owner

@necan commented on GitHub (Nov 3, 2023):

Thanks for reply, you are correct, this bug occurs only in Chinese .

<!-- gh-comment-id:1792307997 --> @necan commented on GitHub (Nov 3, 2023): Thanks for reply, you are correct, this bug occurs only in Chinese .
Author
Owner

@djsmith85 commented on GitHub (Nov 3, 2023):

Relates to https://github.com/bitwarden/clients/issues/2702

<!-- gh-comment-id:1792327189 --> @djsmith85 commented on GitHub (Nov 3, 2023): Relates to https://github.com/bitwarden/clients/issues/2702
Author
Owner

@vvolkgang commented on GitHub (Jun 20, 2024):

Issue migrated to https://github.com/bitwarden/mobile/issues/2852

<!-- gh-comment-id:2181386256 --> @vvolkgang commented on GitHub (Jun 20, 2024): Issue migrated to https://github.com/bitwarden/mobile/issues/2852
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#115502