Closed zongou closed 4 months ago
I'll add some code to hide keyboard when becomes not focused.
More details: It not only happens within that app. for example, after repeating those steps but without tapping the preference button, instead you go to google keyboard settings page, or android system settings page, it triggers that too.
My idea to fix this bug: Setting the flag to SHOW_IMPLICIT for general purpose, and then in the cases the soft keyboard cannot show, set it to SHOW_FORCED.
Android framework does not report about IME status. It is shown or not. And no, we can not check ime size since
share screenshot , in my case there is no keyboard while open preferences as you told
@zongou check the latest build.
share screenshot , in my case there is no keyboard while open preferences as you told
https://github.com/termux/termux-x11/assets/23202896/032a56f8-60d8-42db-a212-709d42d7018d
@zongou check the latest build.
it indeed hides soft keyboard elsewhere, but i cannot switch keyboard now
https://github.com/termux/termux-x11/assets/23202896/99030c8b-8880-4481-86d2-0d505efb9009
Problem description
Keyboard displays in preference page
What steps will reproduce the bug?
What is the expected behavior?
Do not show keyboard.