Generator: Unnecessary linebreaks for long passwords #2034

Closed
opened 2025-11-26 23:05:50 -06:00 by GiteaMirror · 11 comments
Owner

Originally created by @Jan-Koll on GitHub (Oct 25, 2024).

Bitwarden Beta

  • I'm using the new native Bitwarden Beta app and I'm aware that legacy .NET app bugs should be reported in bitwarden/mobile

Steps To Reproduce

  1. Go to 'Generator'
  2. Increase password length via the slider

Expected Result

The generated password fills the available horizontal space.

Actual Result

Unnecessary linebreaks are added almost every other line. This results in a lot of vertical space that is required.

Screenshots or Videos

Screenshot_2024-10-25-19-02-32-79_edf9c6c5202cf0aae90965d36a8e7fc4

Additional Context

No response

Build Version

2024.9.0 (19209)

Environment Details

Android 12, default system font size

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 @Jan-Koll on GitHub (Oct 25, 2024). ### Bitwarden Beta - [X] I'm using the new native Bitwarden Beta app and I'm aware that legacy .NET app bugs should be reported in [bitwarden/mobile](https://github.com/bitwarden/mobile) ### Steps To Reproduce 1. Go to 'Generator' 2. Increase password length via the slider ### Expected Result The generated password fills the available horizontal space. ### Actual Result Unnecessary linebreaks are added almost every other line. This results in a lot of vertical space that is required. ### Screenshots or Videos ![Screenshot_2024-10-25-19-02-32-79_edf9c6c5202cf0aae90965d36a8e7fc4](https://github.com/user-attachments/assets/a8827af9-364f-4007-9719-e88c2b8f9344) ### Additional Context _No response_ ### Build Version 2024.9.0 (19209) ### Environment Details Android 12, default system font size ### 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 bug label 2025-11-26 23:05:50 -06:00
Author
Owner

@bitwarden-bot commented on GitHub (Oct 25, 2024):

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

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

@jtodddd commented on GitHub (Oct 28, 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!

@jtodddd commented on GitHub (Oct 28, 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

@differsthecat commented on GitHub (Oct 30, 2024):

This was fixed by this PR, closing 🙂

@differsthecat commented on GitHub (Oct 30, 2024): This was fixed by [this PR](https://github.com/bitwarden/android/pull/4187), closing 🙂
Author
Owner

@vinnyperella commented on GitHub (Nov 1, 2024):

This was fixed by this PR, closing 🙂

This is still an issue in 2024.10.2 what version will the fix be implemented in?

Screenshot_20241101-024000.png

@vinnyperella commented on GitHub (Nov 1, 2024): > This was fixed by [this PR](https://github.com/bitwarden/android/pull/4187), closing 🙂 This is still an issue in 2024.10.2 what version will the fix be implemented in? ![Screenshot_20241101-024000.png](https://github.com/user-attachments/assets/c81d8e09-8a10-4934-853b-973b197c65d1)
Author
Owner

@Jan-Koll commented on GitHub (Nov 4, 2024):

I agree, the issue is still there in the latest beta (Version: 2024.10.2 (19397)). Since the changes were merged 3 days ago, my guess is that the next release will include the fix.

@Jan-Koll commented on GitHub (Nov 4, 2024): I agree, the issue is still there in the latest beta (Version: 2024.10.2 (19397)). Since the changes were merged 3 days ago, my guess is that the next release will include the fix.
Author
Owner

@frabera commented on GitHub (Nov 6, 2024):

It is still present for me on 2024.11.2

@frabera commented on GitHub (Nov 6, 2024): It is still present for me on 2024.11.2
Author
Owner

@frabera commented on GitHub (Nov 11, 2024):

Just an update, up until 11.2 it was showing regular linebreaks (alternative lines with just 2 characters) as shown in the posted screenshot. In 11.3 and 11.4 it is showing random linebreaks as in the "before" video of the posted pull request #4187.

@frabera commented on GitHub (Nov 11, 2024): Just an update, up until 11.2 it was showing regular linebreaks (alternative lines with just 2 characters) as shown in the posted screenshot. In 11.3 and 11.4 it is showing random linebreaks as in the "before" video of the posted pull request #4187.
Author
Owner

@Jan-Koll commented on GitHub (Nov 12, 2024):

@differsthecat @jtodddd Maybe this issue could be opened again, since the problem doesn't seem to be resolved.

Just an update, up until 11.2 it was showing regular linebreaks (alternative lines with just 2 characters) as shown in the posted screenshot. In 11.3 and 11.4 it is showing random linebreaks as in the "before" video of the posted pull request #4187.

Interesting. I am on 11.3 currently and I always get 3 characters every other line.

By the way, I just noticed this is also the case for the passphrase generation (so not only password generation).

@Jan-Koll commented on GitHub (Nov 12, 2024): @differsthecat @jtodddd Maybe this issue could be opened again, since the problem doesn't seem to be resolved. > Just an update, up until 11.2 it was showing regular linebreaks (alternative lines with just 2 characters) as shown in the posted screenshot. In 11.3 and 11.4 it is showing random linebreaks as in the "before" video of the posted pull request #4187. Interesting. I am on 11.3 currently and I always get 3 characters every other line. By the way, I just noticed this is also the case for the passphrase generation (so not only password generation).
Author
Owner

@vinnyperella commented on GitHub (Nov 14, 2024):

This was fixed by this PR, closing 🙂

@differsthecat This has not been fixed.

@vinnyperella commented on GitHub (Nov 14, 2024): > This was fixed by [this PR](https://github.com/bitwarden/android/pull/4187), closing 🙂 @differsthecat This has not been fixed.
Author
Owner

@Jan-Koll commented on GitHub (Nov 20, 2024):

In 2024.11.6 (19499) it is fixed.

@Jan-Koll commented on GitHub (Nov 20, 2024): In 2024.11.6 (19499) it is fixed.
Author
Owner

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

In 2024.11.6 (19499) it is fixed.

This still looks to be an issue in the Bitwarden native Android app 2025.1.0. Sometimes it lines up correctly but other times it does what I've shown below. Another issue was opened for this: https://github.com/bitwarden/android/issues/4394

Image

@vinnyperella commented on GitHub (Jan 14, 2025): > In 2024.11.6 (19499) it is fixed. This still looks to be an issue in the Bitwarden native Android app 2025.1.0. Sometimes it lines up correctly but other times it does what I've shown below. Another issue was opened for this: https://github.com/bitwarden/android/issues/4394 ![Image](https://github.com/user-attachments/assets/7046965e-b6dc-4c58-aca3-02e81b941bb4)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#2034