[Bug] Autofill not working with Bitwarden
Categories
(GeckoView :: General, defect, P2)
Tracking
(Not tracked)
People
(Reporter: csadilek, Assigned: m_kato)
Details
(Whiteboard: [geckoview:m91][geckoview:m92][geckoview:m93][geckoview:m95?])
From github: https://github.com/mozilla-mobile/fenix/issues/16583.
Steps to reproduce
- Go to any website with login field
- Choose Autofill with Bitwarden from the drop-down
- Select the login entry from Bitwarden
Expected behavior
Login should be put in.
Actual behavior
Nothing happens, fields stay blank.
Device information
- Android device: Redmi K20 (Android 10)
- Fenix version: Nightly 201114 17:01
- Bitwarden version : 2.6.2
Change performed by the Move to Bugzilla add-on.
Reporter | ||
Comment 1•4 years ago
|
||
NB: Inline autofill via the keyboard works fine if the valve isn't locked and no application switch is required.
The problem here is that A-C calls GeckoView.releaseSession
when the application stops (when switching to the Bitwarden app), which causes the autofill delegate to be reset or not work anymore when switching back to Fenix.
Calling releaseSession
seems to be the right thing to do onStop
. Is this a case GV needs to support or is there a way A-C can handle this?
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
•
|
||
FYI, as an interim
work-around 1
- After Step #3 you tab the user or pass input field again
- Bitwarden focuses and you select the entry again
Usually it gets filled in for me now
work-around 2
- After Step #3 while your vault is still unlocked you reload the page
- tab the user or pass input field again
There should now be one or more additional items besides "Auto-fill with Bitwarden" you can select from of logins for this website.
Hope that helps.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
•
|
||
Ignore. Another report of this issue but through Dashlane: https://github.com/mozilla-mobile/fenix/issues/20052
Comment 4•3 years ago
•
|
||
(In reply to Albert Scheiner [:alberts] from comment #2)
FYI, as an interim
work-around 1
- After Step #3 you tab the user or pass input field again
- Bitwarden focuses and you select the entry again
Usually it gets filled in for me now
work-around 2
- After Step #3 while your vault is still unlocked you reload the page
- tab the user or pass input field again
There should now be one or more additional items besides "Auto-fill with Bitwarden" you can select from of logins for this website.
Hope that helps.
A third work-around if you have Android 11 and a vault password: Bitwarden has support for password auto-fill via the keyboard.
work-around 3
- Do NOT perform step 3 ("Select the login entry from Bitwarden"), press back to return to web content instead after unlocking.
- Observe that your keyboard has the in-lined password selector.
- Select a password from there.
(In reply to Christian Sadilek [:csadilek] from comment #1)
Calling releaseSession seems to be the right thing to do onStop. Is this a case GV needs to support or is there a way A-C can handle this?
With my work-around, I imagine releaseSession
was still called but auto-fill worked, so maybe it's something else related?
It seems like this works indeed. My understanding is that when you do select an account in bitwarden, it returns a response so the autofill hint gets dismissed, but GV fails to receive that response because it's dormant. It seems like a timing issue because sometimes it works. It probably needs to be queued up to be propagated reliably.
With your workaround, no response is returned so the autofill hint remains active.
Another workaround is to enable the accessibility service from bitwarden, that works consistently but there might be limitations if your device is encrypted.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 6•3 years ago
|
||
FYI, none of the workarounds work on Wayland/Linux, I have to copy-paste passwords all the time...
(In reply to Francois Guerraz from comment #6)
FYI, none of the workarounds work on Wayland/Linux, I have to copy-paste passwords all the time...
That's a completely unrelated issue, this bug is about Android's autofill API (across apps). For the browser extension, see https://bugzilla.mozilla.org/show_bug.cgi?id=1717760 and https://github.com/bitwarden/browser/issues/2000. Your problem should be fixed with the next release of the BW extension.
Comment 8•3 years ago
|
||
(In reply to novenary from comment #7)
That's a completely unrelated issue, this bug is about Android's autofill API (across apps). For the browser extension, see https://bugzilla.mozilla.org/show_bug.cgi?id=1717760 and https://github.com/bitwarden/browser/issues/2000. Your problem should be fixed with the next release of the BW extension.
Oh, thanks! Very helpful.
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 9•2 years ago
|
||
This should be fixed by Bug 1770010.
Description
•