keyman icon indicating copy to clipboard operation
keyman copied to clipboard

bug(android): Shift layer key enabled in the empty space.

Open dinakaranr opened this issue 1 year ago • 1 comments

Describe the bug

Observed the behavior about the shift layer key being enabled when clicking at the beginning of the sentence.

Reproduce the bug

Steps to reproduce:

  1. Installed the "Keyman 18.0.42.apk" file and gave all permissions to the application.
  2. Checked the "Enable Keyman as system-wide keyboard" and set the keyboard as the default keyboard box on the settings page.
  3. Open the Keyman text editor.
  4. Enter two sentences and start with a capital letter.
  5. Move the cursor to the beginning of the sentence. Here, observed that the keyboard shows the "Shift layer" key enabled state.
  6. Click at the end of the sentence. Here, observed that the keyboard shows the "Shift layer" key in the enabled state. The "Shift layer" key needs to show in a disabled state. Please refer to the video file. https://github.com/keymanapp/keyman/assets/19683059/155b37bf-584a-4ced-a704-7d6abff43026

Expected behavior

No response

Related issues

No response

Keyman apps

  • [X] Keyman for Android
  • [ ] Keyman for iPhone and iPad
  • [ ] Keyman for Linux
  • [ ] Keyman for macOS
  • [ ] Keyman for Windows
  • [ ] Keyman Developer
  • [ ] KeymanWeb
  • [ ] Other - give details at bottom of form

Keyman version

Keyman 18.0.42-alpha-test-11510

Operating system

No response

Device

Andorid 14 physical device

Target application

No response

Browser

No response

Keyboard name

english_eurolatin_sil

Keyboard version

No response

Language name

English

Additional context

No response

dinakaranr avatar May 23 '24 14:05 dinakaranr

Appears to be a divergence between newContext and postKeystroke state for sil_euro_latin?

mcdurdin avatar Jun 07 '24 23:06 mcdurdin

@dinakaranr - I'm not able to get a repro on the current 18.0.103 alpha.

Can you retest on the current alpha build and see if it's still an issue?

When I put the cursor after a period, it's on the default (unshifted) layer. When I move the cursor after . (the space), the layer turns to shift layer.

darcywong00 avatar Sep 03 '24 07:09 darcywong00

I tested this issue with the attached "Keyman 18.0.103-alpha" build on an Android 14 physical device. I am sharing my observation. I could not reproduce this issue in Android 14(physical device). It works well. "Shift layer" is not enabled at the end of the sentence. shift layer enabled when starting to type a word after the dot. It works well. Thanks.

dinakaranr avatar Sep 03 '24 14:09 dinakaranr

Closing this issue as it seems to be resolved.

darcywong00 avatar Sep 04 '24 02:09 darcywong00