keymanapp / keymanapp/keyman

bug(android): Font style changes in predictive texts with each click of the globe key (in Android 5.0)

Open
#11,001 1 comment 0 reactions 0 assignees View on GitHub
android/ bug
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

### Describe the bug

Each time the globe key is clicked, the font change occurs in the predictive texts.

### Reproduce the bug

1. Install Keyman 17.0.286-beta
2. Open the Keyman In-app.
3. Download and install the Khmer Angkor keyboard.
4. Switch the globe key to the default sil_euro_latin keyboard.
5. Verify the Font style that is applied in the predictive text.
6. Switch to Khmer_Angkor keyboard.
7. Switch back to the sil_euro_latin keyboard.

Here, I noticed that the font style of the English predictive text changes on each mouse click. I have attached a video file for reference.

Note: It happens only in the Android 5.0 emulator.

https://github.com/keymanapp/keyman/assets/19683143/80670d82-efdd-43e1-8efa-cc160d178221

### Expected behavior

The font style should remain unchanged during the keyboard switching process.

### 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

17.0.286-beta

### Operating system

Android 5.0

### Device

API 21 emulator

### Target application

_No response_

### Browser

_No response_

### Keyboard name

english_eurolatin_sil

### Keyboard version

3.0.0

### Language name

English

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.