Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Password Autofill Provider shows on termux #3909

Open
mio-19 opened this issue Apr 6, 2024 · 8 comments
Open

[Bug]: Password Autofill Provider shows on termux #3909

mio-19 opened this issue Apr 6, 2024 · 8 comments

Comments

@mio-19
Copy link

mio-19 commented Apr 6, 2024

Problem description

Password Autofill Service shows on termux terminal, which can disturb with the workflow.

Screenshot_20240407_020702_Termux

Steps to reproduce the behavior.

  1. Install Bitwarden and set it as the auto-fill provider.
  2. Open Termux

What is the expected behavior?

No Autofill

System information

  • Termux application version: 0.118.0
  • Android OS version: 14
  • Device model: Samsung S23 Ultra
@fwrs
Copy link

fwrs commented Apr 8, 2024

Also experiencing this with 1Password where it is a little more obtrusive. I don't think this is 1Password's fault though, I've not had it show up on non-password text fields in any other app. It's likely that there's an existing reason why Termux does it this way, so I'd appreciate it if this were to be a configurable setting.

@yubrajbhoi
Copy link

yubrajbhoi commented Apr 13, 2024

Yeah, I also got this bug after a Gboard update. I don't use any password manager either. I just disabled the suggestion strip entirely after that. Here is how it looks like on my Google Pixel 6a:

Screenshot_20240413-183536

@juvannx
Copy link

juvannx commented Apr 15, 2024

from bitwarden or Android settings.

Autofill is managed by Android so apps can't decide if they must show or no, in Android there is no settings for disable autofill for apps.
So termux should change components which accept input with android:autofillHints and disable it.

@juvannx
Copy link

juvannx commented Apr 15, 2024

I just disabled the suggestion strip entirely after that.

This is a workaround and not a solution.
Termux should update with new version of android.

@termux termux deleted a comment from hamee4594 Apr 17, 2024
@dausruddin
Copy link

I cannot access my clipboard because of this bug. Hate switching to another keyboard when using termux and change back when not using it.

@tutacat
Copy link

tutacat commented Jun 5, 2024

This happens after updating to Android 14

To offer smoother integration with password managers, the Credential Manager API was replaced the Autofill framework. This may not work as well with older apps that may not provide the context in the way that it expects.

This is likely happening because the text field is direct-input. Since Termux has the autofill option in more options, and termux only uses one text input and can't definitively discern password input, this could cause the popup.

Workarounds:

  • Depending on your keyboard, you can close the autofill popup with an X button on the keyboard.
  • Additionally if your autofill has floating popup, you can tap/select on the terminal console to hide the popup.
  • All my keyboards that won't hide the inline suggestion bubble, still have full functionality.
  • You can select some options like clipboard from the text context menu (long press), and other options from the termux "more..." menu (from text menu More button, or right-click).

@psyburr
Copy link

psyburr commented Jun 10, 2024

Since this was reported using bitwarden, I'd like to offer a solution to those with the same problem also using the bitwarden application. In the following Settings—>Autofill menu, at the very bottom there is an option to Block AutoFill. Selecting this will open a menu with a button labeled New blocked URI, selecting that will open a dialog where you can enter the following to prevent bitwarden from suggesting any auto-fill whenever using Termux. Screenshots from my device attached for visual reference. Hope this helps!

androidapp://com.termux

1
2

@indrastorms
Copy link

Since this was reported using bitwarden, I'd like to offer a solution to those with the same problem also using the bitwarden application. In the following Settings—>Autofill menu, at the very bottom there is an option to Block AutoFill. Selecting this will open a menu with a button labeled New blocked URI, selecting that will open a dialog where you can enter the following to prevent bitwarden from suggesting any auto-fill whenever using Termux. Screenshots from my device attached for visual reference. Hope this helps!

androidapp://com.termux

Now you can't autofill when you wanted to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants