termux-app
termux-app copied to clipboard
[Bug]: Text input mode cannot be changed
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
Try Adjust Terminal Margin/Padding - Termux Wiki
also does rotating to landscape work?
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.
This is probably the same bug as #2503
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:
- The extra keys must not make it completely off the screen
- 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.
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 :
- Swipe up from bottom of screen so Termux is seen in Recents list.
- Bring Termux back to foreground.
- Swipe from left to right. The extra keys will slide into view.
- 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