Caps lock is not mapped correctly when using a Colemak keyboard layout
BUG
Description of problem:
In Wayland, when changing the keyboard layout to Colemak, Caps lock should be mapped as an additional Backspace key, however, this doesn't happen. If the same test is done in Xorg, Caps lock acts as Caps lock + Backspace.
Environment
- Distro: Fedora 30 beta (64 bit)
- Desktop Enviroment: GNOME
- GNOME Session: Xorg and Wayland
- DE version: 3.32.1
- GTK version: 3.24.7
How reproducible:
Always
Steps to Reproduce:
- Configure new language input with alternative layout like Colemak (It is also replicable in Norman layout)
- Open an application like Gedit and change the input method
- Write something and test Caps lock
Actual results:
- Wayland session: Caps locks works like Caps lock although it should work as an additional Backspace according to the Colemak keyboard layout
- Xorg session: Caps lock works like Caps lock + Backspace (to see the effect to toggle between Caps lock and a letter)
Expected results:
Based on the Colemak layout, Caps lock works as an additional Backspace.
Additional info:
- In the GNOME Discourse instance a small dialog of the issue was given, for which I also did the test in a clean installation of fedora in a VM with the same results.
- This is a known problem according to the Colemak forum alluding to a GNOME issue.
- Tested in XFCE with a native method or using ibus the problem is not replicated (Xorg).
- By manually mapping Caps lock as an additional Backspace using GNOME Tweaks, you get a different behavior in Wayland vs. Xorg sessions (basically in Xorg when having Caps lock mapped as Backspace pressed to clear continuously doesn't work).