KeePassDX
KeePassDX copied to clipboard
Username is not filled in android browser
Describe the bug
Since some months the username filled is no longer filled through autofill service of android. This is a Galaxzy S21 with latest android 13 and latest chrome. The issue is also there on Firefox.
I'm not getting suggestions in the username field and if I enter the password field I get them but only the password is filled then.
I'm sure this worked earlier.
To Reproduce
Steps to reproduce the behavior:
- Enable keepassdx as the autofill service
- Open a page with a password in KeePass, e.g. Kunde.comdirect.de
- Click the username field=> no suggestions
- Click the password field => suggestions.
- Select an entry from the suggestions
- Passwort is filled but username is NOT
Expected behavior
In step 6 also the username should be filled
KeePass Database
- Created with: windows keepass
- Version: 2
- Location: Remote file retrieved with onedrive
- File provider (
content://URI): [onedrive] - Size: 1Mb
- Contains attachment: no
KeePassDX:
- Version: 4.0.2
- Build: free
- Language: german
Android:
- Device: Galaxzy s21
- Version: 13
Additional context
Add any other context about the problem here.
- Browser for Autofill: Chrome 117
The same issue is in Firefox. Only password are filled
Username is filled in the web address field in my case
Same Problem here, with an up-to-date Pixel 6 with GrapheneOS using Fennec as Browser. The problem has existed for me for several months.
And it seems to be a problem of the app itself. In the Keepass2Android app it is still working, so I think it is not google to blame this time for a autofill issue;-)
I have Samsung Galaxy S10E, use Chrome and have the same issue. I have re-installed KeePassDX to no avail. I copied database manually from PC and there everything works fine - fields are filled in with KeePass/WebAutoType, identified by the URL.
Same for me, the issue happens occasionally, always for user/email fields. Didn't have any issues for example with Keepass2android
As a workaround, after the password gets filled just type the first letter of the username and you'll get prompted again, this time it'll work
Is this limited to Chrome? I'm also seeing this with the current Edge release.
Having the same issue, in Chrome Android username gets filled into the address bar.
OK guys, The autofill system depends on many parameters:
- The autofill service of the machine
- The browser used
- The form parsed
In order to be able to debug correctly, please indicate in each comment :
- The Android version you're using and your device
- The browser you're using and its exact version
- The url of the form you're trying to access
- The exact problem you're facing
Otherwise I won't be able to identify each problem. I'm already going to focus on the parameters of those of @jmichler who filled in his bug report correctly.
Please note that if the service works for browsers with native Autofill but not with browsers in compatibility mode, I won't be able to do much. But there may be browsers switching from one mode to another, we need to know from which version of the browser autofill is supported or is no longer supported to update the file : https://github.com/Kunzisoft/KeePassDX/blob/master/app/src/main/res/xml/dataset_service.xml
Hi, thank you for working on this! I recorded a video that demonstrates the issue:
https://github.com/Kunzisoft/KeePassDX/assets/18554021/85638f6b-c15c-4897-8e6a-1cbf34e4a72d
In my case:
Android 12 SKQ1.211019.001 Browser: Chrome 118.0.5993.111 Url: happens on any site Problem: username gets filled into the browser's address bar
- Autofill service:
- Browser used:
- The form parsed: Any form fills the username into the browser's address bar.
Fixed with https://github.com/Kunzisoft/KeePassDX/issues/1508#issuecomment-1793424670 https://github.com/Kunzisoft/KeePassDX/commit/2d8f8aeef33e6994312cbc81844ba7b9670ce8fb
Fixed in 4.0.3
I still have this problem on 4.0.5 with Android 13 and Chrome 120.0.6099.231 (Official Build) (32-bit). Example site is GitHub login but it happens with every website login I try. Another specific example is https://frame.work/login.
Also happens on a Galaxy A tablet with Android 10.
I confirm it too. Few months ago I started using AuthPass (also available in F-Droid) just for auto fill while using KeePassDX for managing everything else on my keepass DB as a workaround, as it's a much better application.
It's been working flawlessly.
The algorithm is permissive, but it seems that the autofill service takes a long time on some devices and prevents the username from being recognized. But if you insist, it works. This will be resolved when the algorithm engine works differently for each site, but it's a huge job: https://github.com/Kunzisoft/KeePassDX/issues/1287
Thanks @J-Jamet for your time in trying to fix this, it doesn't seem trivial at all! However, I'd propose a kind of workaround: every time this happens (as said, on some sites, not always, insisting usually doesn't help in my case), I have to open the database, look for the entry, and copy the username, this is rather annoying. Would it be possible to have the clipboard notification appear every time the autofill is triggered? At least it would make easy to copy the username with just one tap.
+1 here.
Mozilla Firefox:
122.1.0 (Build #2016001831), 0d66540568+ GV: 122.0.1-20240205133611 AS: 122.0.1
URL:
https://www.kununu.com/de/login
The algorithm is permissive, but it seems that the autofill service takes a long time on some devices and prevents the username from being recognized. But if you insist, it works. This will be resolved when the algorithm engine works differently for each site, but it's a huge job: #1287
Would it be worth checking how AuthPass manages autofill? I'm using it exclusively for that (KeePassDX for everything else) and it works very well.
I've tried searching their repo, but I don't know enough of Android and Dart development to understand it. It looks like it was introduced in commit 8e8548a
Few days ago I've switched back to keepass2android and there is no problem with autofill on Android 14 and Firefox. I will be happy if keepassdx can handle thisz so I can switch back.
Still having this issue on 2nd March 2024
- Android 14
- OneUI 6
- Samsung Galaxy A13
- Samsung Default Keyboard
- Chrome 122.0.6261.90
still experiencing the issue: v 4.0.5 latest chrome fully patched samsung s21 morele.net password form Google keyboard
I'm also affected by this issue but wanted to stress (maybe once more) that autofill in general works fine, but it does not fill the username but only the password.
I noticed the issue in the past that the autofill dropdown often did not show up when clicking on the username textbox but clicking on the password textbox usually brought it up. In the past, selecting the right entry there filled both password and username, now I've noticed on many pages where this used to work in the past that only the password is filled.
This is exactly the same behavior as described and show in the video above.
I solved this by switching to Keepass2Android. Auto-type is fully working there, including the username fields.
I ended up commenting on an issue that was a duplicate of this one that got closed recently. So here is what I said in the other comments section.
I am having this same problem and it has been going on for quite a long time. I actually came here to create a new issue for this exact thing, but ran across this one first.
Edit: Android 13 KeepassDX 4.0.5 Fennec 124.2.0 based on firefox 124.2.0
@shortwavesurfer2009 I can reproduce the bug with Firefox 124.2.0 but not with DuckDuckGo 5.163.0, I don't know why Firefox and Fennec behave this way.
I've just debugged, I don't know where it's coming from but by removing an optimization parsing element, I can get it to work on Firefox.
I am seeing the same issue with Brave. Will report with 4.10 once it's released.
J-Jamet added a commit that referenced this issue 17 hours ago fix: Fix username recognition with firefox #1665 27ea357
Awesome news!
How long does it take for something like this to reach the great unwashed (i.e. show up the Google Play Store)?
@brianjmurrell google play? 🤮
F-droid is the place to be