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

Key Label/Input Text Format Breaks Popup Keys #1322

Open
RHJihan opened this issue Jan 24, 2025 · 0 comments
Open

Key Label/Input Text Format Breaks Popup Keys #1322

RHJihan opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@RHJihan
Copy link
Contributor

RHJihan commented Jan 24, 2025

When configuring a key with different label and inputText using the label format [label]|[text], e.g., { "label": "aa|bb" }, the key displays correctly and inputs the expected text. However, this setup causes the key to fail to display its associated popup keys defined in the app/src/main/assets/locale_key_texts file.

Steps to Reproduce

  1. Configure a key with the label format [label]|[text] in the keyboard layout JSON, e.g., { "label": "ra|র" } from Bengali_unijoy.json.
    "default": { "label": "" }

    It's corresponding popup is defined in app/src/main/assets/locale_key_texts/bn-BD.txt
  2. Save the custom layout and test.
  3. Press and hold the configured key to trigger the popup keys.

Expected Behavior
The key should display its popup keys as defined in the locale_key_texts file.

Actual Behavior
The popup keys fail to display when the key is configured using the [label]|[text] format.

App version
Upto 35e0fe6

Device:

  • Model: Galaxy M32
  • OS: Android 13
@RHJihan RHJihan added the bug Something isn't working 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
Projects
None yet
Development

No branches or pull requests

1 participant