termux-app
termux-app copied to clipboard
[Bug]: Password Autofill Provider shows on termux
Problem description
Password Autofill Service shows on termux terminal, which can disturb with the workflow.
Steps to reproduce the behavior.
- Install Bitwarden and set it as the auto-fill provider.
- 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
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.
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:
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.
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.
I cannot access my clipboard because of this bug. Hate switching to another keyboard when using termux and change back when not using it.
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).
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
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.
We never wanted to. Please see the initial report and expected behavior.
We never wanted to. Please see the initial report and expected behavior.
So what do you think about the option "autofill password" existed for?
@psyburr That is a pretty good workaround. Do you know if that is possible on stock Android (with no password manager)?
All right, I found a workaround. Go to Settings and "Passwords, passkeys and autofill". Select the preferred service, for me on Pixel 6a, it is Google. That will take you to "Use Autofill with Google". Disable that and it should be fixed.
If you are actually using Google password manager you will have to find a different solution.
@yubrajbhoi I've set it to Bitwarden since day one I bought my Pixel 6a. I don't know if switching it back to Google then again to Bitwarden will do anything... I'm using the "disable autofill for termux" workaround now.
@escape0707 Yeah, it won't do anything. You have to disable the app you save set as preferred service. In my case I use pass
in Termux as my password manager, so I don't need Google.
Please, anyone with any solution for Gboard and Google password manager on Android 14? It's annoying to see this every time I open termux 😤
Check #4125. Users using GitHub action builds should test and report so that it can be merged.
Check #4125. Users using GitHub action builds should test and report so that it can be merged.
Thanks. In the last build action the annoying password button no longer appears above the keyboard. I hope the fix will come to the latest stable and beta version soon.
Welcome. Should be available in next beta at least.
Welcome. Should be available in next beta at least.
In that case the base branch of the pr should be 119.beta. right?
Master branch is where everything gets pushed for final release, beta branches pick and patch commits from master branch before release.
Master branch is where everything gets pushed for final release, beta branches pick and patch commits from master branch before release.
Why its opposite? Commits should be merge on beta branch first to test all are working with other commits which isn't pushed to master.
All the development is done on master branch, anything I push there is thoroughly tested, beta in the termux app's context means that features are not final and not ready for release and may change, not that they are unstable. Beta branches were never used before, it was only used for last release with specific commits picked from master branch and certain features disabled with patch commits that were not ready for release.
All the development is done on master branch, anything I push there is thoroughly tested, beta in the termux app's context means that features are not final and not ready for release and may change, not that they are unstable. Beta branches were never used before, it was only used for last release with specific commits picked from master branch and certain features disabled with patch commits that were not ready for release.
Oh.. then it's more like a feat branch. But I'm using 119 so can't install 118 on top of it. 😞
You can install github debuggable apks with pm install -r -d
to downgrade.
Thanks for the info.