The keyboard crashes when a key is configured with a placeholder as the only popup key, and the user selects only the "Layout" popup key order in settings. This occurs because the placeholder type does not have a label or associated functionality, resulting in a crash when the key is long-pressed.
Example Key Configuration
{
"label": "ক",
"popup": {
"relevant": [
{
"type": "placeholder"
}
]
}
}
Steps to Reproduce
- Configure a key as shown in the example above.
- Go to the app settings and set the popup key order to "Layout" only, disabling all other options.
- Long-press the key labeled "ক".
Expected Behavior
The key should either:
- Display no popup keys gracefully, or
- Prevent the long-press interaction entirely when no valid popup keys are available.
Actual Behavior
The keyboard crashes when the key is long-pressed due to the presence of only a placeholder popup key.
App version
Upto 35e0fe6
Device
- Model: Galaxy M32
- OS: Android 13
The keyboard crashes when a key is configured with a
placeholderas the only popup key, and the user selects only the "Layout" popup key order in settings. This occurs because the placeholder type does not have a label or associated functionality, resulting in a crash when the key is long-pressed.Example Key Configuration
Steps to Reproduce
Expected Behavior
The key should either:
Actual Behavior
The keyboard crashes when the key is long-pressed due to the presence of only a placeholder popup key.
App version
Upto 35e0fe6
Device