Skip to content

SDL3: Android shows on-screen keyboard instead of Textinput on first SDL_StartTextInput #13067

Closed
@DominusExult

Description

@DominusExult

With SDL3 on starting the TextInput via SDL_StartTextInput the keyboard is shown. And you cannot dismiss that keyboard (unless you set SDL_HINT_RETURN_KEY_HIDES_IME and hit RETURN). If you trigger the textinput again, the TextInput gets shown correctly.

On SDL2 the TextInput was shown first and then when you click in it the keyboard will show.

Keyboard (yes, you can remedy that behavior in the keyboard settings somewhat)
Image

TextInput
Image

In our case you cannot trigger the TextInput again, while the keyboard is open, as the trigger point is hidden by the keyboard.

I have not yet experience in running the SDL tests on Android, so I don't know whether the tests misbehave as well. How do I build the test apk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions