-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Gboard keyboard can not be used properly in termux #1539
Comments
It works fine for me (and has always worked fine). You need to provide more details. I use the Norwegian layout in Gboard, which has the non-ascii characters æ, ø and å and they work. |
I also have no issues with Gboard. do you have similar issues with any other keyboard? Any character examples? or screenshots? |
At least for me, Termux forces Gboard into QWERTY mode, and won't let you
switch to another language.
To input other languages, you need to use Termux's "text input view" (swipe
left on the function key bar); in that mode, all Gboard languages work.
This really isn't very difficult, but maybe it's not so obvious to new
users...
|
I can switch to other languages/layouts by long pressing the space bar, no matter if the text input view is active or not. It's not forced to qwerty either. |
This comment has been minimized.
This comment has been minimized.
I wonder if this is Android-version specific.... I'm on Android 7.0. |
Could be. I'm on Android 10 on a Pixel 3. |
My problem solved when I switched to different keyboard which doesn't have features like autocorrect, autocomplete or predictive text...You can try turning off predictive text |
Simply turn off automatic remediation and autocomplete, or use another keyboard as keyboard hackers |
My experience is the same, and turning off spell check and input prediction will not help. Changing the input method can certainly work, but the premise is that the design of the input method itself does not meet the specifications. Termux's code is programmed to use a char-based keyboard for regular input, to ensure this, termux added an property in its configuration file(~/.termux/termux.properties), namely enforce-char-based-input. This property is not true by default, because termux believes that the correctly implemented input method has same effects when using input.TYPE_NUL, just like gboard. Only when necessary, set its value to true, those other input methods with different behaviors of input.TYPE_NUL will become like gboard and only display the visible password keyboard. Obviously, the visible password keyboard or none(default) keyboard in gboard both will not display any extra buttons, such as settings, clipboard, character selection, etc. This does bring some inconvenience, at least, for me. Using two-line shortcut keys and pre-input text box to make up for the lack of password keyboard is a solution.
|
@YanceyChiew When using gboard, the input type set as
may cause keyboard to overlap the extra keys row on some configurations. In case of disabled extra keys, it will overlap few lines of command prompt. |
Seems like a bug in the rom, android handles pushing up the view itself. It's done by |
Android 11 from Pixel 5. |
Thanks. Will look into in future. Working fine on pixel 3a android 11 avd though. |
@agnostic-apollo Do you have the latest gboard installed and clipboard suggestions enabled? |
Well, I was on the preinstalled version |
I have the same behavior on my Android 9 Gigaset (same Gboard version like @xeffyr but armv7). The one Extra Key line (shot1) contains Ctrl ( |
So I did some more testing. On Android 11 avd, the clipboard suggestion bar don't show when text is copied with This seems like an OS bug to me, android is responsible for pushing up the view depending on keyboard height. In my
So android itself is not detecting that gboard suggestions bar is showing. Edit: Edit2: Someone emailed similar case for SwiftKey where number row was covering terminal. There is a similar report about this here, but extra keys work differently. The hack that I can think of to make this work could to be to allow user to add |
Dit you do version 10.5.03.367007960-release-x86` update? After Paste, Before of Paste I have replaced clipboard with an alternative text. The workaround has corrected (remove extra line) this again. However, sometimes I get google Restarts or |
So Gboard issue should be fixed with e7dd0ee. I have tested it on android 7 device and android 10 and 11 avd. For android 11 avd, I had to clear Gboard's app data for new UI to load properly. Moreover, for bug to occur, you also need to enable number keys row toggle to be enabled in gboard settings in addition to clipboard suggestions toggle. I am not sure if this will fix issues with other keyboards, but hopefully should do it since solution used is kinda generic and will work with and without New release is planned to be released today if no bugs come in. |
Thanks! I've checked on my Aditional to this (arch=i686) I've installed on my Gigaset (arch=arm) and get: |
Thanks for the confirmation. Would be good to have swiftkey number rows solved as well.
This issue is not related to overlap issue. Overlap is (also) reported in #538 |
If above the extra key line is missing, the problem is already solved in v113. In the following shot (horizontal split), next to the Swift-KB, Termux (left) with the Extra Key line and X11 (right) _with its Extra Keys (not in vertical position) can be seen - without overlaps. |
It could also be a device specific issue so not sure yet. And e7dd0ee should work even if extra keys are enabled or not. |
This bug appears me after type "apt upgrade" using the app from Google Play(is not the last version), so I uninstall it and install the Fdroid version 0.117 but the bug still persist. |
So I managed to reproduce the issue too. It doesn't happen in all multilingual languages including Norwegian. It does happen with Chinese Traditional language, when you open termux with it selected, the keyboard space bars literally says Also found a termux bug where if in text input view mode and chinese was showing properly and I switch to another app and come back to termux which would still start in text input view mode, the As for fixing the forced |
Problem description
when gboard input method is used with termux, only ascii keyboard can be used.
Steps to reproduce
Install google gboard keyboard, and use it with termux
Expected behavior
Additional information
never worked with any version of termux
The text was updated successfully, but these errors were encountered: