Skip to content

Ordering of IMM calls #41990

@mklim

Description

@mklim

We've recently been informed that the order in which we trigger IMM callbacks is different from standard Android text fields.

Specifically, somehow we're triggering InputMethodManager#onShowInputRequested() after IMM#onUpdateSelection(), when normally the flow is onShowInputRequested -> onUpdateSelection.

We should debug and confirm this ourselves. It's not immediately obvious to me how we're triggering either of those callbacks, but there's likely call sites in TextInputPlugin.java (IMM#updateSelection, IMM#showSoftInput).

/cc @GaryQian @jason-simmons

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsengineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions