bitwarden / android

Bitwarden mobile app for Android.
https://bitwarden.com
GNU General Public License v3.0
6.32k stars 796 forks source link

Bitwarden does not autofocus on Master Password field upon opening app #3383

Open jabashque opened 3 months ago

jabashque commented 3 months ago

Bitwarden Beta

Steps To Reproduce

  1. Configure Bitwarden to allow neither biometric unlocking nor pin unlocking.
  2. Close Bitwarden entirely. (Clear Bitwarden from the app switcher, and even force stop Bitwarden for good measure.)
  3. Open Bitwarden.

Expected Result

The Master Password field should immediately get focus once the app is loaded, resulting in the keyboard popping up.

Actual Result

The Master Password field does not immediately get focused on, and so the user has to tap on the Master Password field manually.

Screenshots or Videos

No response

Additional Context

This is a nitpick, but it would be good to have this to match the behavior of the old MAUI app.

Build Version

2024.6.1 (11139)

Environment Details

Device: OnePlus 8 OS: LineageOS 21 (Android 14 QPR3)

Issue Tracking Info

SergeantConfused commented 3 months ago

Hello @jabashque,

Thank you for your report. I see what you mean and have flagged it to the Engineering department.

Thank you again,

jabashque commented 1 month ago

Hi, after qwexter's changes in 2024.8.0, Bitwarden now autofocuses on the Master Password field on startup if Bitwarden wasn't open previously or was fully stopped. However, if I return to home or switch to another app, then return to Bitwarden, the focus on the Master Password is lost again and I have to manually tap on it to refocus it. I compared against the MAUI app, and the MAUI one always refocuses on the Master Password field, even if you switch away from Bitwarden to something else and then back to Bitwarden.

Hopefully, this can be addressed to ensure full parity with the old MAUI app.