keymanapp / keymanapp/keyman

bug(android): on HyperOS, keyboard menu/picker operates in the background and does not display when pressing CTRL + TAB on a physical keyboard while OSK is off

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

Description

### Describe the bug

Disable OSK while an external keyboard is connected, using CTRL + TAB does not open the keyboard menu/switcher in the active/current app, instead the keyboard menu opens in the Keyman app and operates the background.

Xiaomi Pad 6 Android v14
- OS v2.0.14.0
- Chip: Snapdragon 870 Mobile Platform Octa-core Max 3.2GHz
- Microsoft (AZERTY) Bluetooth keyboard

### Reproduce the bug

1. Launch Keyman 18.0.249
2. Follow and complete the "Get Started" instructions
3. Go to Settings -> Disable "Show On-Screen Keyboard"
4. Exit Keyman (This closes the OSK from Keyman side)
5. Go to Device Settings -> Search for On-screen or related names -> Disable the on-screen keyboard
![Image](https://github.com/user-attachments/assets/7e1201f3-5027-4f09-b033-21a0e4c239df)
6. Exit Device Settings (This closes the OSK from device side)
7. Open any app that has a text input e.g. Settings or Microsoft Word
8. In Word, create a new document and type some text
9. Ensure that the on-screen keyboard remains off
11. Press CTRL + TAB
12. Nothing shows up
13. Manually switching to Keyman app to see that the Keyboard menu was opened.
![Image](https://github.com/user-attachments/assets/fadc38b4-8a2c-45ae-b95b-14f2642f0f78)

### Expected behavior

I could think of two options:
1. Show the Keyboard menu/picker in the active/current app
2. Automatically switches to Keyman app for the Keyboard menu/picker (our supported feature)
![Image](https://github.com/user-attachments/assets/fadc38b4-8a2c-45ae-b95b-14f2642f0f78)

### Related issues

#6233
#15832

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

### Operating system

HyperOS v2.0.14.0 with Snapdragon 870 Mobile Platform Octa-core Max 3.2GHz

### Device

Xiaomi Pad 6 Android v14

### Target application

Word, Device's settings, or any app that has a text input

### Browser

_No response_

### Keyboard name

Any

### Keyboard version

_No response_

### Language name

_No response_

### Additional context

> [!NOTE]
> Found this issue after looking into #15805

> [!NOTE]
> This seems to be happening only for Xiaomi/Snapdragon Chip.

> [!NOTE]
> Tested on Samsung Galaxy A05 One UI v7.0 Android v15.0:
> While in Notes, press ctrl + tab, the Keyman app opens with the Keyboard menu/picker.

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.