PhilippC / PhilippC/keepass2android

[BUG] Autofill doesn't work when KP2A asks for full password

Open
#3,250 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Checks
  • I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:

When I press a login field and go long-press -> autofill (or press "Fill with Keepass2Android" on gboard top bar), and KP2A asks me for my full password, entering the password seems to enter "viewing database" state instead of "selecting credentials" state. If I pick credentials from the list in this state, it doesn't return to autofill and just views the entry instead. I have to then back out of the app and am usually forced to retry with QuickUnlock before I'm able to pick a credential entry, or use the KP2A keyboard.

Describe what you expected to happen:

When going from autofill -> full password unlock, picking an entry from the list after entering full password should return to the previous app and autofill the credentials instead of viewing them

What version of Keepass2Android are you using?

1.14-r4

Which version of Android are you on?

16 (One UI 8.0)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the Android autofill flow on version 1.14-r4: invoke autofill, enter the full password when Keepass2Android requests it, and select credentials. Trace why the app enters viewing-database state; done means selecting an entry returns to the previous app and autofills the credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
authentication, mobile, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.