Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard Crashes When Placeholder Popup Key Is the Only Configured Popup #1324

Open
RHJihan opened this issue Jan 24, 2025 · 0 comments
Open
Labels
bug Something isn't working contributor needed Feature needs a contributor in order to get implemented. Please ask if you're interested.

Comments

@RHJihan
Copy link
Contributor

RHJihan commented Jan 24, 2025

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

  1. Configure a key as shown in the example above.
  2. Go to the app settings and set the popup key order to "Layout" only, disabling all other options.
  3. 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
@RHJihan RHJihan added the bug Something isn't working label Jan 24, 2025
@Helium314 Helium314 added the contributor needed Feature needs a contributor in order to get implemented. Please ask if you're interested. label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working contributor needed Feature needs a contributor in order to get implemented. Please ask if you're interested.
Projects
None yet
Development

No branches or pull requests

2 participants