keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
376 stars 103 forks source link

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

Open dinakaranr opened 3 weeks ago

dinakaranr commented 3 weeks ago

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

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

mcdurdin commented 1 week ago

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