PhilippC / PhilippC/keepass2android
[BUG] "Scan QR Code" button does not open camera when configuring TOTP
Nobody has claimed this yet.
- 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:
Description
When trying to configure a TOTP (Time-based One-Time Password) for an entry, clicking the "Scan QR Code" button does nothing. The camera interface fails to launch, making it impossible to scan the setup QR code.
Steps to Reproduce
Open KeePass2Android and unlock a database.
Open or create an entry, and tap Edit (the pencil icon).
Tap Add new field or locate the TOTP configuration section.
Select Setup TOTP.
Tap on the "Scan QR Code" button.
Expected Behavior
The app should launch the camera interface to scan the QR code.
Actual Behavior
Clicking the button has no effect at all. No error message or permission prompt pops up, and the camera does not open.
Describe what you expected to happen:
No response
What version of Keepass2Android are you using?
1.16-pre
Which version of Android are you on?
16
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on Android 16 through the TOTP setup flow for an entry, then inspect the "Scan QR Code" button action and camera launch behavior. Done means tapping the button opens the camera interface and allows the setup QR code to be scanned without the reported no-op.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- mobile, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100