GNOME on-screen keyboard: keys are interpreted incorrectly
Describe the bug
Using GNOME on-screen keyboard, uppercase letters are typed as lowercase, punctuation is either typed as digits or as other symbols (e.g. @ is 2, " is ').
To Reproduce
Steps to reproduce the behavior:
- Select the text tool
- Place anywhere on the canvas
- Pop out the on-screen keyboard
- Try to type uppercase letters and punctuation.
Expected behavior
Each key should be interpreted according to the current keyboard layout.
Console Output
n/a
Screenshots
n/a
Desktop:
- OS: Arch Linux 6.16.8-arch3-1
- App Version: Rnote v0.13.1
- Installation Source: Archlinux Community Repo
- Desktop Environment: Gnome 49.0
- Display Server: Wayland
- Input Source: Mouse and Keyboard, On-Screen-Tablet
Additional context I use Lenovo Ideapad 2-in-1, which supports tablet mode.
I've tried several keyboard layouts (EurKey, English US, Czech, German) and it made a little difference, but the problem with uppercase and wrong punctuation mappings still persists.
When I use the laptop's keyboard (not in tablet mode), everything works as expected.
This problem only occurs in rnote, in other GTK programs and in the GNOME Shell itself on-screen keys are typed correctly, so the root of problem should not be the wrong layout settings.
I also tried to install rnote from flatpak and it suffers from the same problem.
As a possible workaround, try installing the "GJS OSK" extension. https://extensions.gnome.org/extension/5949/gjs-osk/ This extension completely overhauls the on-screen keyboard in Gnome. I've found that it bypasses some of the issues the default OSK has. Might not fix your issue and it's certainly not a long-term solution but it's worth a shot.