PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.73k stars 382 forks source link

[BUG] Entries are lost if the screen locks during entry #2625

Open Julian opened 3 months ago

Julian commented 3 months ago

Checks

Describe the bug you encountered:

If one fills out a new password entry and the phone screen locks due to inactivity, the entry appears to be totally lost.

I have "Lock when screen off" enabled, which is behavior I do want if I shut the screen off, but losing data seems very bad to me, hence filing this.

In the real world typically the way this occurs is while I'm finishing filling out the registration form for some new service I'm signing up for, and in the process of doing so the phone screen locks -- so what has happened a few times is I sign up for something and then am immediately locked out as the password I just generated and entered is immediately lost.

(n.b.: I've read the FAQ and attempted to search the issue tracker and not found this issue, though I'd be shocked if it wasn't reported elsewhere, so I must be missing it. Apologies if so. I've certainly been meaning to file this for a long while as it's without question the only major issue I have with the app in years of loving it!)

Describe what you expected to happen:

One of two things:

To elaborate also on an obvious workaround which generally doesn't work for me: I personally do not generally save until the account is created, for 2 reasons:

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

14 (May 5, 2024)