termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

[Bug]: Text input mode cannot be changed

Open Duvio opened this issue 2 years ago • 5 comments

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.

https://user-images.githubusercontent.com/29256280/177437868-216ebfa3-1ff0-4ded-adaf-1352c79d99e6.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

Duvio avatar Jul 06 '22 00:07 Duvio

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

ChiefMikeK avatar Jul 06 '22 13:07 ChiefMikeK

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.

Duvio avatar Jul 06 '22 21:07 Duvio

This is probably the same bug as #2503

cwitte avatar Jul 22 '22 13:07 cwitte

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.

scottviteri avatar Jun 28 '23 19:06 scottviteri

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: https://github.com/termux/termux-app/issues/2503#issuecomment-1013954733

shel1kest0learn avatar Jan 19 '24 16:01 shel1kest0learn