[GH-ISSUE #1156] Android inline autofill #7167

Closed
opened 2026-04-10 23:34:47 -05:00 by GiteaMirror · 14 comments
Owner

Originally created by @ayo-x on GitHub (Nov 21, 2020).
Original GitHub issue: https://github.com/bitwarden/android/issues/1156

Describe the Bug

The login information doesn't show up on Gboard's suggestion strip.

Steps To Reproduce

  1. Have the latest available versions of all the apps (Bitwarden, Bromite, Element, Firefox, Fennec Firefox, Gboard, Vanadium, etc. ).
  2. Open the website/app you wish to log in to.
  3. Tap on either the username (or password) login field.

Expected Result

Login information should be on the suggestion bar.

Actual Result

Suggestion strip shows he default items, the ones that are present when typing in other apps.
Clearing data, reinstalling, using different app settings in both Bitwarden and Gboard or rebooting device don't solve the issue.

Screenshots or Videos

https://i.imgur.com/4xubTvg.png

Environment

  • Device:Pixel 3a
  • Operating system: Android 11 (Graphene OS)
  • Build Version: 2.7.0 (3258)
  • Is this a Beta release? N
Originally created by @ayo-x on GitHub (Nov 21, 2020). Original GitHub issue: https://github.com/bitwarden/android/issues/1156 ## Describe the Bug <!-- Comment: The login information doesn't show up on Gboard's suggestion strip. --> The login information doesn't show up on Gboard's suggestion strip. ## Steps To Reproduce <!-- Comment: --> 1. Have the latest available versions of all the apps (Bitwarden, Bromite, Element, Firefox, Fennec Firefox, Gboard, Vanadium, etc. ). 2. Open the website/app you wish to log in to. 3. Tap on either the username (or password) login field. ## Expected Result <!-- Comment: --> Login information should be on the suggestion bar. ## Actual Result <!-- Comment: --> Suggestion strip shows he default items, the ones that are present when typing in other apps. Clearing data, reinstalling, using different app settings in both Bitwarden and Gboard or rebooting device don't solve the issue. ## Screenshots or Videos <!-- Comment: --> https://i.imgur.com/4xubTvg.png ## Environment - Device:Pixel 3a - Operating system: Android 11 (Graphene OS) - Build Version: 2.7.0 (3258) - Is this a Beta release? N
Author
Owner

@mpbw2 commented on GitHub (Nov 21, 2020):

Hi @w0ken , I've compared your log with a device where the inline presentation is working. There are two events that are missing from yours, though they may have just been excluded from your paste so it may be worth checking again.. (This is with the latest GBoard and Chrome running on a Pixel 4a with factory ROM)

2020-11-21 17:25:16.946 3259-3259/? V/InlinePresentationRendererServiceImpl: onRenderSuggestion: width=-2, height=-2
2020-11-21 17:25:16.950 3259-3259/? V/InlineSuggestionRenderService: width=-2, height=-2, measuredSize=594x121

Since your screenshot shows the default popup showing, that could mean one of two things:

  1. "Use Inline Autofill" is disabled in Bitwarden's autofill settings, or
  2. Some part of the dependency chain for inline presentations has failed resulting in a fallback to the popup (IME failed to provide inline suggestion, ROM failed to transfer inline suggestion to us, we failed to create inline request, or ROM failed to deliver our inline request back to the IME).

Graphene OS is the unknown here. I would suggest testing with another app that uses inline autofill to see if it works, then we'll go from there.

<!-- gh-comment-id:731648472 --> @mpbw2 commented on GitHub (Nov 21, 2020): Hi @w0ken , I've compared your log with a device where the inline presentation is working. There are two events that are missing from yours, though they may have just been excluded from your paste so it may be worth checking again.. (This is with the latest GBoard and Chrome running on a Pixel 4a with factory ROM) ``` 2020-11-21 17:25:16.946 3259-3259/? V/InlinePresentationRendererServiceImpl: onRenderSuggestion: width=-2, height=-2 2020-11-21 17:25:16.950 3259-3259/? V/InlineSuggestionRenderService: width=-2, height=-2, measuredSize=594x121 ``` Since your screenshot shows the default popup showing, that could mean one of two things: 1) "Use Inline Autofill" is disabled in Bitwarden's autofill settings, or 2) Some part of the dependency chain for inline presentations has failed resulting in a fallback to the popup (IME failed to provide inline suggestion, ROM failed to transfer inline suggestion to us, we failed to create inline request, or ROM failed to deliver our inline request back to the IME). Graphene OS is the unknown here. I would suggest testing with another app that uses inline autofill to see if it works, then we'll go from there.
Author
Owner

@ayo-x commented on GitHub (Nov 21, 2020):

The inline option is enabled. I also tried with the accessibility popup option disabled. Still didn't work.
I'm trying to find another app that provides inline autofill but google search isn't helping much. In the meantime, here's a bigger logcat.

edit: I've gone into the developer options menu and enabled verbose logging level for autofill
new logcat : logcat1.txt

<!-- gh-comment-id:731653462 --> @ayo-x commented on GitHub (Nov 21, 2020): The inline option is enabled. I also tried with the accessibility popup option disabled. Still didn't work. I'm trying to find another app that provides inline autofill but google search isn't helping much. In the meantime, here's a bigger logcat. edit: I've gone into the developer options menu and enabled verbose logging level for autofill new logcat : [logcat1.txt](https://github.com/bitwarden/mobile/files/5578701/logcat1.txt)
Author
Owner

@heiserhorn commented on GitHub (Nov 27, 2020):

Hi, I am experiencing the same problem Pixel 4, Android 11, gboard and firefox everything up to date. The inline suggestion is not proposed for all sites. Moreover in some apps I do not have the inline suggestion nor the pop-up (for example with the disney + app). The four options for auto fill are all enabled and battery optimization for bitwarden is disabled. Happy to provide more information.

<!-- gh-comment-id:734988657 --> @heiserhorn commented on GitHub (Nov 27, 2020): Hi, I am experiencing the same problem Pixel 4, Android 11, gboard and firefox everything up to date. The inline suggestion is not proposed for all sites. Moreover in some apps I do not have the inline suggestion nor the pop-up (for example with the disney + app). The four options for auto fill are all enabled and battery optimization for bitwarden is disabled. Happy to provide more information.
Author
Owner

@heiserhorn commented on GitHub (Nov 28, 2020):

I did some extra testing. The inline autofill is provided when using Chrome and not with Firefox on some specific sites. If interested one of the sites I am having the issue is hockeymanager.ch/login.

Firefox version is 83.1.0, Bitwarden 2.7.0, Gboard 10.0.02.338070508-release-arm64-v8a

For the disney + app version is 1.11.2 (in this app I do not have the popup neither the inline).

<!-- gh-comment-id:735243192 --> @heiserhorn commented on GitHub (Nov 28, 2020): I did some extra testing. The inline autofill is provided when using Chrome and not with Firefox on some specific sites. If interested one of the sites I am having the issue is hockeymanager.ch/login. Firefox version is 83.1.0, Bitwarden 2.7.0, Gboard 10.0.02.338070508-release-arm64-v8a For the disney + app version is 1.11.2 (in this app I do not have the popup neither the inline).
Author
Owner

@hkaancaliskan commented on GitHub (Dec 11, 2020):

I have absolutely same problem with @heiserhorn.
Sometimes inline auto fill works but mostly not :(
Xperia XZ1 Lineageos 18 Android 11
Latest firefox beta(84.0.0-beta.4)
Latest gboard(version 10.0.02.338070508-release-arm64-v8a)

Example website for me: Hepsiburada.com

I can provide logs if you guys want.

<!-- gh-comment-id:743323312 --> @hkaancaliskan commented on GitHub (Dec 11, 2020): I have absolutely same problem with @heiserhorn. Sometimes inline auto fill works but mostly not :( Xperia XZ1 Lineageos 18 Android 11 Latest firefox beta(84.0.0-beta.4) Latest gboard(version 10.0.02.338070508-release-arm64-v8a) Example website for me: Hepsiburada.com I can provide logs if you guys want.
Author
Owner

@sevesalm commented on GitHub (Dec 12, 2020):

I also have problems using Inline Autofill on Android 11. I have it enabled on Bitwarden settings, I'm using gboard on Chrome. Usually the autofill works immediately when I open Chrome but fails later on the same site. Failure here means I don't get any entries in the suggestion strip. Closing and reopening Chrome usually helps.

Currently autofill is basically unusable and unreliable. I don't know what is causing this issue: Bitwarden or some other component/app.

Bitwarden 2.7.0 (3258)
Premium account
Chrome 87.0.4280.101
gBoard 10.0.02.338070508-release-amd64-v8a
Android 11/Samsung OneUI 3.0.

I'll provide more info if it helps.

<!-- gh-comment-id:743755296 --> @sevesalm commented on GitHub (Dec 12, 2020): I also have problems using Inline Autofill on Android 11. I have it enabled on Bitwarden settings, I'm using gboard on Chrome. Usually the autofill works immediately when I open Chrome but fails later on the same site. Failure here means I don't get any entries in the suggestion strip. Closing and reopening Chrome usually helps. Currently autofill is basically unusable and unreliable. I don't know what is causing this issue: Bitwarden or some other component/app. Bitwarden 2.7.0 (3258) Premium account Chrome 87.0.4280.101 gBoard 10.0.02.338070508-release-amd64-v8a Android 11/Samsung OneUI 3.0. I'll provide more info if it helps.
Author
Owner

@johns2s commented on GitHub (Dec 12, 2020):

I also have problems using Inline Autofill on Android 11. I have it enabled on Bitwarden settings, I'm using gboard on Chrome. Usually the autofill works immediately when I open Chrome but fails later on the same site. Failure here means I don't get any entries in the suggestion strip. Closing and reopening Chrome usually helps.

Currently autofill is basically unusable and unreliable. I don't know what is causing this issue: Bitwarden or some other component/app.

Bitwarden 2.7.0 (3258)
Premium account
Chrome 87.0.4280.101
gBoard 10.0.02.338070508-release-amd64-v8a
Android 11/Samsung OneUI 3.0.

I'll provide more info if it helps.

There was an issue on Chrome's end that is fixed in Chrome Dev and Chrome Canary.

<!-- gh-comment-id:743781229 --> @johns2s commented on GitHub (Dec 12, 2020): > I also have problems using Inline Autofill on Android 11. I have it enabled on Bitwarden settings, I'm using gboard on Chrome. Usually the autofill works immediately when I open Chrome but fails later on the same site. Failure here means I don't get any entries in the suggestion strip. Closing and reopening Chrome usually helps. > > Currently autofill is basically unusable and unreliable. I don't know what is causing this issue: Bitwarden or some other component/app. > > Bitwarden 2.7.0 (3258) > Premium account > Chrome 87.0.4280.101 > gBoard 10.0.02.338070508-release-amd64-v8a > Android 11/Samsung OneUI 3.0. > > I'll provide more info if it helps. There was an issue on Chrome's end that is fixed in Chrome Dev and Chrome Canary.
Author
Owner

@sevesalm commented on GitHub (Dec 12, 2020):

There was an issue on Chrome's end that is fixed in Chrome Dev and Chrome Canary.

Ok! Could it be related to my case also? So it is broken on Chrome 87 but fixed on 89? Do you happen to have a link to the issue or fix?

I tested a bit more. On Android Firefox the inline autofill works a lot better. Still not 100% reliable (sometimes no autofill option is offered at all) but a lot better than on Chrome.

<!-- gh-comment-id:743915787 --> @sevesalm commented on GitHub (Dec 12, 2020): > There was an issue on Chrome's end that is fixed in Chrome Dev and Chrome Canary. Ok! Could it be related to my case also? So it is broken on Chrome 87 but fixed on 89? Do you happen to have a link to the issue or fix? I tested a bit more. On Android Firefox the inline autofill works a lot better. Still not 100% reliable (sometimes no autofill option is offered at all) but a lot better than on Chrome.
Author
Owner

@johns2s commented on GitHub (Dec 13, 2020):

There was an issue on Chrome's end that is fixed in Chrome Dev and Chrome Canary.

Ok! Could it be related to my case also? So it is broken on Chrome 87 but fixed on 89? Do you happen to have a link to the issue or fix?

I tested a bit more. On Android Firefox the inline autofill works a lot better. Still not 100% reliable (sometimes no autofill option is offered at all) but a lot better than on Chrome.

https://github.com/bitwarden/mobile/issues/489#issuecomment-736736959

<!-- gh-comment-id:743938444 --> @johns2s commented on GitHub (Dec 13, 2020): > > There was an issue on Chrome's end that is fixed in Chrome Dev and Chrome Canary. > > Ok! Could it be related to my case also? So it is broken on Chrome 87 but fixed on 89? Do you happen to have a link to the issue or fix? > > I tested a bit more. On Android Firefox the inline autofill works a lot better. Still not 100% reliable (sometimes no autofill option is offered at all) but a lot better than on Chrome. https://github.com/bitwarden/mobile/issues/489#issuecomment-736736959
Author
Owner

@bingoxo commented on GitHub (Dec 29, 2020):

Has anyone tried if it works with OpenBoard ,FlorisBoard ,AnySoftKeyboard or any other FOSS keyboard ?

<!-- gh-comment-id:752055061 --> @bingoxo commented on GitHub (Dec 29, 2020): Has anyone tried if it works with OpenBoard ,FlorisBoard ,AnySoftKeyboard or any other FOSS keyboard ?
Author
Owner

@Jannomag commented on GitHub (Jan 30, 2021):

Hi,
I'm having similar issues using Gboard 10.2.02.351353117 beta and Microsoft Edge 45.12.4.5125.
Sometimes it's working once or twice until it stops working. Then I need to reenable the autofill service though bitwardens settings.

Samsung Galaxy S10 with OneUI 3.0 (Android 11).

<!-- gh-comment-id:770115898 --> @Jannomag commented on GitHub (Jan 30, 2021): Hi, I'm having similar issues using Gboard 10.2.02.351353117 beta and Microsoft Edge 45.12.4.5125. Sometimes it's working once or twice until it stops working. Then I need to reenable the autofill service though bitwardens settings. Samsung Galaxy S10 with OneUI 3.0 (Android 11).
Author
Owner

@heiserhorn commented on GitHub (Feb 1, 2021):

Quick update on this one: with the latest FF nightly the behavior has improved but still not reliable 100%

<!-- gh-comment-id:770641641 --> @heiserhorn commented on GitHub (Feb 1, 2021): Quick update on this one: with the latest FF nightly the behavior has improved but still not reliable 100%
Author
Owner

@escape0707 commented on GitHub (Feb 20, 2021):

Can't use autofill for latest telegram 7.4.2 with bitwarden 2.8.0 and Pixel Experience 11. Weird. Although websites in firefox, AnkiDroid etc is working.

<!-- gh-comment-id:782737506 --> @escape0707 commented on GitHub (Feb 20, 2021): Can't use autofill for latest telegram 7.4.2 with bitwarden 2.8.0 and Pixel Experience 11. Weird. Although websites in firefox, AnkiDroid etc is working.
Author
Owner

@eliykat commented on GitHub (Apr 29, 2021):

Thanks for reporting this issue. Autofill problems can affect different sites, apps, or devices, and we’re working on improving this feature. To help us track and analyze affected sites, please lodge a report using the Google Form mentioned in this issue: #1389. Please also direct any discussion or questions to that issue. This issue will now be closed.

<!-- gh-comment-id:829656354 --> @eliykat commented on GitHub (Apr 29, 2021): Thanks for reporting this issue. Autofill problems can affect different sites, apps, or devices, and we’re working on improving this feature. To help us track and analyze affected sites, please lodge a report using the Google Form mentioned in this issue: #1389. Please also direct any discussion or questions to that issue. This issue will now be closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#7167