Input focus is lost when you try to switch the layout using Screen Keyboard
Test Case
- Open GNOME Settings > Universal Access
- Enable the Screen Keyboard
- Open Text Editor
- Open Activities
- Click on Type to search...
- Screen Keyboard appears
- Click the "Earth" button
- A pop-up dialog appears with keyboard layout selection
- Hover cursor on the dialog
- Screen keyboard slides down
System Info
- Ubuntu 19.04
- GNOME 3.30.2
- Mutter 3.30.2
- Vanilla Gnome Wayland session