keymanapp / keymanapp/keyman

bug(android): predictive texts flashes on the suggestion banner after disabling the Predictions feature

Open
#11,335 3 comments 0 reactions 1 assignee Claimed by @jahorton View on GitHub
android/ bug
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

### Describe the bug

After disabling the Predictions feature for the Khmer Angkor keyboard, I noticed that the Khmer_Angkor predictive text flashes on the suggestion bar when switching keyboards.

### Reproduce the bug

1. Install Keyman 18.0.25-alpha build.
2. Open Keyman In-App.
3. Download and install Khmer_Angkor keyboard.
4. Switch to Khmer Angkor Keyboard.
5. Verify the Khmer_Angkor predictive texts appear on the suggestion banner.
6. Open the Installed Languages / Central Khmer (Khmer, Cambodia) Settings menu.
7. Disable Predictions.
8. Revert to home page.
9. Verify the Keyman banner displays on the suggestion bar.
10. Switch to 'sil_eurolatin' default keyboard.

Here, I noticed that the khmer_angkor predictive text briefly appears on the suggestion bar when switching keyboards.

I have attached the Video file for reference.

https://github.com/keymanapp/keyman/assets/19683143/fc836995-221b-4932-9e69-53687ec061b7

### Expected behavior

Predictions that have been disabled should not be displayed on the suggestion bar.

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

18.0.25-alpha

### Operating system

Android 12, 13, 14

### Device

API 34 emulator, Samsung Galaxy A23 Mobile device

### Target application

_No response_

### Browser

_No response_

### Keyboard name

khmer_angkor

### Keyboard version

1.3.1

### Language name

Khmer

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