Unnecessary linebreaks for long passwords in login entry screen #2085

Open
opened 2025-11-26 23:07:44 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @Context6016 on GitHub (Nov 28, 2024).

Steps To Reproduce

  1. Generate a long password
  2. Observe the password field inside your login entry

Expected Result

No unnecessary linebreaks.

Actual Result

Unnecessary linebreaks appears.

Screenshots or Videos

IMG_20241129_011038
IMG_20241129_011057

Additional Context

This seems to be related to #4166. The issue was fixed in the password generator screen but it still appears inside the login entry screen.

Build Version

2024.11.6 (19499)

What server are you connecting to?

US

Self-host Server Version

No response

Environment Details

Device : One Plus 9
OS : Android 13

Issue Tracking Info

  • 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.
Originally created by @Context6016 on GitHub (Nov 28, 2024). ### Steps To Reproduce 1. Generate a long password 2. Observe the password field inside your login entry ### Expected Result No unnecessary linebreaks. ### Actual Result Unnecessary linebreaks appears. ### Screenshots or Videos ![IMG_20241129_011038](https://github.com/user-attachments/assets/17102835-ff0e-4bb7-8f57-a966381a8e2b) ![IMG_20241129_011057](https://github.com/user-attachments/assets/a0f139e2-473a-4ce9-ad64-b2d234c70ce7) ### Additional Context This seems to be related to #4166. The issue was fixed in the password generator screen but it still appears inside the login entry screen. ### Build Version 2024.11.6 (19499) ### What server are you connecting to? US ### Self-host Server Version _No response_ ### Environment Details Device : One Plus 9 OS : Android 13 ### 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.
GiteaMirror added the app:password-managerbug labels 2025-11-26 23:07:44 -06:00
Author
Owner

@bitwarden-bot commented on GitHub (Nov 28, 2024):

Thank you for your report! We've added this to our internal board for review.
ID: PM-15454

@bitwarden-bot commented on GitHub (Nov 28, 2024): Thank you for your report! We've added this to our internal board for review. ID: PM-15454
Author
Owner

@rmcdowell-bitwarden commented on GitHub (Nov 29, 2024):

Hi there,

Thank you for your report!

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

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!

@rmcdowell-bitwarden commented on GitHub (Nov 29, 2024): Hi there, Thank you for your report! I was able to reproduce this issue, and I have flagged this to our engineering team. 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

@vinnyperella commented on GitHub (Jan 14, 2025):

An issue for this was already open and tagged as fixed but it has not been fixed: https://github.com/bitwarden/android/issues/4166#top

See in screenshot below, this is on the latest Android native version 2025.1.0.

Image

@vinnyperella commented on GitHub (Jan 14, 2025): An issue for this was already open and tagged as fixed but it has not been fixed: https://github.com/bitwarden/android/issues/4166#top See in screenshot below, this is on the latest Android native version 2025.1.0. ![Image](https://github.com/user-attachments/assets/5c5474f2-0b29-4484-896b-a215833d62cc)
Author
Owner

@rmcdowell-bitwarden commented on GitHub (Jan 16, 2025):

@vinnyperella thank you bringing this up again. I was able to reproduce this on my device with Version 2025.1.0 and have reached out to our Engineering team regarding this behavior.

@rmcdowell-bitwarden commented on GitHub (Jan 16, 2025): @vinnyperella thank you bringing this up again. I was able to reproduce this on my device with Version 2025.1.0 and have reached out to our Engineering team regarding this behavior.
Author
Owner

@vinnyperella commented on GitHub (Feb 10, 2025):

@vinnyperella thank you bringing this up again. I was able to reproduce this on my device with Version 2025.1.0 and have reached out to our Engineering team regarding this behavior.

This is still an issue in 2025.1.2 that just came out today.

@vinnyperella commented on GitHub (Feb 10, 2025): > @vinnyperella thank you bringing this up again. I was able to reproduce this on my device with Version 2025.1.0 and have reached out to our Engineering team regarding this behavior. This is still an issue in 2025.1.2 that just came out today.
Author
Owner

@vinnyperella commented on GitHub (May 7, 2025):

Still an issue in latest Android release 2025.4.0. It appears the "&" symbol is at least in part causing the line breaks anytime there's one of those symbols in the password the line breaks at it and the password resumes on the next line. This is not the only character there is also some strange behavior with the "%" and "#" symbols. If I turn off special characters in the password is works fine the lines break where you would expect.

@vinnyperella commented on GitHub (May 7, 2025): Still an issue in latest Android release 2025.4.0. It appears the "&" symbol is at least in part causing the line breaks anytime there's one of those symbols in the password the line breaks at it and the password resumes on the next line. This is not the only character there is also some strange behavior with the "%" and "#" symbols. If I turn off special characters in the password is works fine the lines break where you would expect.
Author
Owner

@Jan-Koll commented on GitHub (May 30, 2025):

The issue still exists in Version 2025.5.0 (20269). I can confirm what @vinnyperella mentioned: the linebreaks only seem to appear when special characters are enabled. When they are turned off, everything looks fine.

@Jan-Koll commented on GitHub (May 30, 2025): The issue still exists in Version 2025.5.0 (20269). I can confirm what @vinnyperella mentioned: the linebreaks only seem to appear when special characters are enabled. When they are turned off, everything looks fine.
Author
Owner

@vinnyperella commented on GitHub (Jun 30, 2025):

Still an issue in 2025.6.0.

@vinnyperella commented on GitHub (Jun 30, 2025): Still an issue in 2025.6.0.
Author
Owner

@gabrbrand commented on GitHub (Jul 19, 2025):

@rmcdowell-bitwarden, are there any updates on this?
As @vinnyperella and @Jan-Koll mentioned, this issue only appears when special characters are enabled.
Although users usually don't generate passwords longer than one line, this issue can be annoying when items jump up and down because the line-breaking behaviour is constantly changing, making it more difficult to interact with the slider.

I've tried several things, but I can't figure out what's causing this issue.
shouldAddCustomLineBreaks might not be working as expected because the bug persists when it's set to false. Everything works normally when only letters and numbers are enabled.

Version: 2025.6.1 (20398)
📱 samsung SM-A556B 🤖 15@35 📦 prod
🧱 commit: bitwarden/android/release/hotfix-v2025.6.0-bwpm@e8878d321546a846909c70c00cdf8d7071f0ecf0
💻 build source: bitwarden/android/actions/runs/15984517798/attempts/1

@gabrbrand commented on GitHub (Jul 19, 2025): @rmcdowell-bitwarden, are there any updates on this? As @vinnyperella and @Jan-Koll mentioned, this issue only appears when special characters are enabled. Although users usually don't generate passwords longer than one line, this issue can be annoying when items jump up and down because the line-breaking behaviour is constantly changing, making it more difficult to interact with the slider. I've tried several things, but I can't figure out what's causing this issue. `shouldAddCustomLineBreaks` might not be working as expected because the bug persists when it's set to `false`. Everything works normally when only letters and numbers are enabled. Version: 2025.6.1 (20398) 📱 samsung SM-A556B 🤖 15@35 📦 prod 🧱 commit: bitwarden/android/release/hotfix-v2025.6.0-bwpm@e8878d321546a846909c70c00cdf8d7071f0ecf0 💻 build source: bitwarden/android/actions/runs/15984517798/attempts/1
Author
Owner

@vinnyperella commented on GitHub (Sep 19, 2025):

Still an issue in 2025.9.0 only with special characters.

@vinnyperella commented on GitHub (Sep 19, 2025): Still an issue in 2025.9.0 only with special characters.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#2085