Skip to content

App switch refreshes generated password/passphrase #5525

@johanneshardt

Description

@johanneshardt

Steps To Reproduce

  1. Open some login entry
  2. Click "edit" (pen icon)
  3. Click "generate" icon (rightmost in the "password" text field)
  4. Click "Yes" on "Are you sure you want to overwrite the current password"
  5. Exit app by going to the home screen (up-swipe gesture)
  6. Reenter the app from the icon or recents view

OR

  1. Go to the "Generator" tab
  2. Swipe up from the bottom (go to home screen)
  3. Reenter the app from the icon or recents view

Expected Result

The generated password/passphrase stays the same after exiting/reentering the app (without closing it).

Actual Result

The generated password/passphrase is different every time you leave/enter the Bitwarden app (without closing the app).

Screenshots or Videos

No response

Additional Context

For me, this behavior is annoying, as I often want to do something like this when prompted to change a password:

  1. Open the entry of that site/service/app in bitwarden
  2. Generate a new password for it in the edit view (without saving), copy it
  3. Switch to the website/app of the service and paste this generated password
  4. Go back to Bitwarden and save the entry

This does not currently work, as reopening bitwarden will refresh the generated password with a new one. I get that I could save the generated password in bitwarden -> go to site and enter it, but often it takes multiple attempts to generate a password that the site accepts as it might want a password with a specific length, minimum count of special symbols etc.

This same behavior is also seen when using the "Generate" tab as well.

Build Version

2025.6.1 (20398)

What server are you connecting to?

EU

Self-host Server Version

No response

Environment Details

  • Device: Pixel 7 Pro
  • OS: Android 16 QPR1 Beta 2

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions