bitwarden / bitwarden/android

[PM-34777] Symbols at the beginning or end of a password appear reversed on devices that use Arabic

Open
#6,773 3 comments 0 reactions 0 assignees View on GitHub
app:password-manager bug
Dominant language
Kotlin
Stars
9.4k
Forks
1.1k
Avg merge
1d 14h
Merged PRs (30d)
67

Description

### Steps To Reproduce

1. Set your Android phone's language to Arabic.
2. Generate a password containing one or more symbols at the beginning, end, or both.

### Expected Result

The symbols must appear in their correct position and order.

### Actual Result

The symbols appear on the other side of the password and in reverse order, like a mirror reflection.

### Screenshots or Videos

![Image](https://github.com/user-attachments/assets/c006479c-0120-455a-bc54-6144972e856d)
![Image](https://github.com/user-attachments/assets/8c790645-78f1-4ad8-80c6-09c26504e646)
![Image](https://github.com/user-attachments/assets/709cea30-2966-41f3-a783-e9df3cf56c04)

### Additional Context

Arabic and English words appear correctly in the app, as do passwords containing only English letters and numbers. However, when using symbols, the symbols appear reversed at the edges of the word, while remaining correctly in the text. The app functions correctly when autofilling or copying a word, but if the user is forced to type it, they will never be able to enter it correctly if they are unaware of the problem.

This issue has persisted for a long time and, in my opinion, poses a serious problem because it simply leads to the generation of fake passwords.

Even users who are aware of the problem will be confused or may resort to copying and pasting the password into less secure and private applications so that they can see it correctly.

### Build Version

Version: 2026.3.1 (21415)

### What server are you connecting to?

US

### Self-host Server Version

_No response_

### Environment Details

Device: Xiaomi
OS Version: Android

### Issue Tracking Info

- [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.