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]: Text input mode cannot be changed #2866

Open
Duvio opened this issue Jul 6, 2022 · 6 comments
Open

[Bug]: Text input mode cannot be changed #2866

Duvio opened this issue Jul 6, 2022 · 6 comments

Comments

@Duvio
Copy link

Duvio commented Jul 6, 2022

Problem description

When opening the text input view by dragging to the left on the extra key row, i cannot bring up the extra key row again by dragging to the right. Somehow i got lucky in the video but usually i can never get out of the text input view mode, not even after spending minutes dragging to the right.

Screen_Recording_20220706-022357_Termux.mp4

Steps to reproduce the behavior.

Open text input view mode by dragging to the left on the extra key row

What is the expected behavior?

No response

System information

  • Termux application version: 0.118
  • Android OS version: 12
  • Device model: SM-A528B/DS
@ChiefMikeK
Copy link

Try Adjust Terminal Margin/Padding - Termux Wiki
also does rotating to landscape work?

@Duvio
Copy link
Author

Duvio commented Jul 6, 2022

Try Adjust Terminal Margin/Padding - Termux Wiki also does rotating to landscape work?

Changing the margin and the device orientation do not help at all.

@cwitte
Copy link

cwitte commented Jul 22, 2022

This is probably the same bug as #2503

@scottviteri
Copy link

I had this same issue. I find that swiping upwards to close the front-end of the application fixes the problem. But that is inconvenient.

I noticed that there is a more convenient trick to reset the keyboard state, but it requires a bit of finesse.
Go to your default keyboard screen (let's suppose it is in the messed up text input mode state). Swipe the extra keys left and then right rapidly. When you do so the following criteria must be satisfied:

  1. The extra keys must not make it completely off the screen
  2. Your finger must separate from the phone screen. If you simply drag the extra keys to the left without releasing, it will not trigger a keyboard state change.

This process triggers two keyboard state changes, and the reset occurs before whatever error happens on the text input mode side that leads to android input mode acquiring sticky control over your inputs. Maybe someone wiser than I can also use this information to pinpoint the error, but in the meantime, I find this quite easy to do once internalized.

@shel1kest0learn
Copy link

shel1kest0learn commented Jan 19, 2024

Within the past month, I became aware of the text input view.

And I have experienced the same issue noted here.

I spent some time testing and observing but have not come to a conclusion.

Can confirm as workaround on my Pixel, when want to exit text input view :

  1. Swipe up from bottom of screen so Termux is seen in Recents list.
  2. Bring Termux back to foreground.
  3. Swipe from left to right. The extra keys will slide into view.
  4. The keyboard input key changes from Send to Enter.

Also confirmed that the workaround mentioned here works on my Pixel:
#2503 (comment)

@karlacio
Copy link

karlacio commented Jan 5, 2025

On my device, to be able to swipe right (to bring back the extra keys), I have to touch on the screen outside the text input area to remove the cursor from that area. Then I can swipe right and see the extra keys.

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

6 participants